Papawy

vhost

Jun 19th, 2018
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. #
  2. # sql.papawy.com
  3. #
  4. <VirtualHost *:80>
  5. ServerAdmin [email protected]
  6. ServerName parier.papawy.com
  7. ServerAlias parier.papawy.fr
  8.  
  9. # Indexes + Directory Root
  10. #DirectoryIndex index.php
  11. DocumentRoot /var/www/parier.papawy.com/site/
  12.  
  13. <Directory />
  14. Options FollowSymLinks
  15. AllowOverride FileInfo
  16. ErrorDocument 404 /var/www/parier.papawy.com/errors/404.php
  17. </Directory>
  18.  
  19. <Directory /var/www/parier.papawy.com/site>
  20. Options Indexes FollowSymLinks MultiViews
  21. AllowOverride None
  22. Order allow,deny
  23. allow from all
  24. </Directory>
  25.  
  26. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  27. <Directory "/usr/lib/cgi-bin">
  28. AllowOverride None
  29. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  30. Order allow,deny
  31. Allow from all
  32. </Directory>
  33.  
  34. # Logs
  35. ErrorLog /var/www/parier.papawy.com/logs/error.log
  36. CustomLog /var/www/parier.papawy.com/logs/access.log combined
  37. RewriteEngine on
  38. RewriteCond %{SERVER_NAME} =parier.papawy.com [OR]
  39. RewriteCond %{SERVER_NAME} =parier.papawy.fr
  40. RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]
  41. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment