I'm trying to setup the built in apache part of os x to work with php. I've gone through the process of uncommenting the php lines and so forth in the httpd.conf file. However, I can't seem to get the webserver to find any of my files to test. I changed the ListenPort to 3333, since i run https://github.com/37signals/pow on port 80. Like so:
<IfDefine !MACOSXSERVER> Listen 3333 </IfDefine>
And the server seems to respond to 3333 just fine. I also setup the /etc/apache2/users/aaronmcleod.conf to store a virtual host to the ~/Sites folder like so:
<Directory "/Users/aaronmcleod/Sites/"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> NameVirtualHost *:3333 <Virtualhost *:3333> DocumentRoot /Users/aaronmcleod/Sites ServerName aaronmcleod.dev </Virtualhost>
However, when i go to http://localhost:3333/test.php i just receive a 404 error from apache. Any ideas on what i missed?