Advertisement
Guest User

Untitled

a guest
Aug 20th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerName www.example.net
  3. DocumentRoot "/var/www/html/example3"
  4. <Directory /var/www/html/example3>
  5. DirectoryIndex index.php
  6. AllowOverride All
  7. Require all granted
  8. </Directory>
  9. </VirtualHost>
  10.  
  11. <VirtualHost *:80>
  12. ServerName example.com
  13. DocumentRoot /var/www/html/example-project/public
  14. <Directory /var/www/html/example-project/public/>
  15. AllowOverride All
  16. Require all granted
  17. </Directory>
  18. </VirtualHost>
  19.  
  20. $ sudo chgrp -R www-data /var/www/html/example-project
  21. $ sudo chmod -R 775 /var/www/html/example-project
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement