Advertisement
Guest User

Untitled

a guest
Feb 5th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerName XXXXXX.localhost
  3. ServerAdmin webmaster@localhost
  4. DocumentRoot /var/www/XXXXXX/htdocs
  5. LogLevel warn
  6. ErrorLog "|/usr/bin/cronolog /var/www/XXXXXX/logs/%Y/%m/%Y-%m-%d-error.log"
  7. CustomLog "|/usr/bin/cronolog /var/www/XXXXXX/logs/%Y/%m/%Y-%m-%d-access.log" combined
  8. <Directory /var/www/XXXXXX/htdocs/>
  9. RewriteEngine on
  10. RewriteBase /
  11. RewriteCond %{REQUEST_FILENAME} !-f
  12. RewriteCond %{REQUEST_FILENAME} !-d
  13. RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
  14. </Directory>
  15. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement