put the contents of the folder 'put in cgi-bin' that came with X2Web in the folder on your hard disk
/Applications/MAMP/cgi-bin/
put the X2Web.conf file in
/Applications/MAMP/conf/apache/
Open the file
/Applications/MAMP/conf/apache/httpd.conf
and insert the following code:
Include /Applications/MAMP/conf/apache/X2Web.conf