Linux, Apache, MySQL and PHP
Install apache, MySQL and PHP as described in the LAMP howto on Arch Linux Wiki.
When you want to access the webpage from your workstation, you need to open port 80 in the firewall.
To check what rules are present run
then run this command to insert the rule at line 14 in the input chain
Remember to run
to save the new rules permanently
Edit the file /etc/httpd/conf/httpd.conf and uncomment the line
Edit the file /etc/httpd/conf/extra/httpd-vhosts.conf and add any virtual host you need
<virtualhost 192.168.100.5:80> DocumentRoot /home/httpd/server2 ErrorLog "/var/log/httpd/server2.ld_log" CustomLog "/var/log/httpd/server2.ld_log" common <Directory "/home/httpd/server2"> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> </virtualhost>
Remember to restart the server.