Posted By

cburyta on 08/13/08


Tagged

apache symfony MAMP


Versions (?)

Symfony on MAMP - Apache VirtualHost


 / Published in: Apache
 

Basic starting point for an Apache VirtualHost that points to a Symfony project being developed on MAMP

  1. <VirtualHost myapp.example.com:8888>
  2. ServerName myapp.example.com
  3. DocumentRoot "/Applications/MAMP/htdocs/symfony/myproject/web"
  4. DirectoryIndex index.php
  5. Alias /sf /Applications/MAMP/htdocs/symfony/1.0/data/web/sf
  6. <Directory "/Applications/MAMP/htdocs/symfony/1.0/data/web/sf">
  7. AllowOverride All
  8. Allow from All
  9. </Directory>
  10. <Directory "/Applications/MAMP/htdocs/symfony/myproject/web">
  11. AllowOverride All
  12. Allow from All
  13. </Directory>
  14. </VirtualHost>

Report this snippet  

You need to login to post a comment.