Default Virtual Host


/ Published in: Apache
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <VirtualHost *:80>
  2. ServerName myapp.example.com
  3. DocumentRoot "/home/steve/myproject/web"
  4. DirectoryIndex index.php
  5. Alias /sf /$sf_symfony_data_dir/web/sf
  6. <Directory "/$sf_symfony_data_dir/web/sf">
  7. AllowOverride All
  8. Allow from All
  9. </Directory>
  10. <Directory "/home/steve/myproject/web">
  11. #Options -Indexes FollowSymLinks MultiViews
  12. AllowOverride All
  13. Allow from All
  14. </Directory>
  15. </VirtualHost>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.