Howtosetapser S2
From Haiku Max Wiki
Go to the /boot/apps/Apache/conf directory and open the file httpd.conf. This file is the most important when setting up Apache.
Some basics: Lines that start with # are comments and are not read by apache. All other lines (except blanks) are configuration options and serve a purpose.
First find the line "# Listen: ..." and go to the last line of that comment section. Add a new line and type 'Listen 127.0.0.1:80' without the 's. The section should now read:
# Listen: Allows you to bind Apache to specific IP addresses and/or # ports, in addition to the default. See also the <VirtualHost> # directive. # #Listen 3000 #Listen 12.34.56.78:80 Listen 127.0.0.1:80
So what does this do? It actually makes the apache server listen to calls from your computer. Now if you want it to answer calls from your network also, you should add another line like this 'Listen 192.168.0.1:80' where 192.168.0.1 is the Ip address of your computer. Now the section reads:
# Listen: Allows you to bind Apache to specific IP addresses and/or # ports, in addition to the default. See also the <VirtualHost> # directive. # #Listen 3000 #Listen 12.34.56.78:80 Listen 127.0.0.1:80 Listen 192.168.0.1:80
