/ Published in: Apache
Basic starting point for an Apache VirtualHost that points to a Symfony project being developed on MAMP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<VirtualHost myapp.example.com:8888> ServerName myapp.example.com DocumentRoot "/Applications/MAMP/htdocs/symfony/myproject/web" DirectoryIndex index.php Alias /sf /Applications/MAMP/htdocs/symfony/1.0/data/web/sf <Directory "/Applications/MAMP/htdocs/symfony/1.0/data/web/sf"> AllowOverride All Allow from All </Directory> <Directory "/Applications/MAMP/htdocs/symfony/myproject/web"> AllowOverride All Allow from All </Directory> </VirtualHost>