Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <VirtualHost *:80>
  2.     ServerAdmin XXXX
  3.     ServerName YYYY
  4.     RewriteLog /var/log/rewrite.log
  5.     RewriteLogLevel 9
  6.  
  7.     DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm
  8.     DocumentRoot /usr/share/PPPP
  9.     <Directory />
  10.         Options FollowSymLinks
  11.         AllowOverride None
  12.     </Directory>
  13.     AccessFileName .htaccess
  14.     <Directory /usr/shared/PPPP>
  15.         RewriteEngine On
  16.         RewriteBase /
  17.         RewriteCond %{REQUEST_FILENAME} !-f
  18.         RewriteCond %{REQUEST_FILENAME} !-d
  19.         RewriteRule . /index.php [L]
  20.  
  21.         Options Indexes FollowSymLinks MultiViews
  22.         AllowOverride All
  23.         Order allow,deny
  24.         allow from all
  25.     </Directory>
  26.  
  27.     ErrorLog /var/log/apache2/QQQQ
  28.  
  29.     # Possible values include: debug, info, notice, warn, error, crit,
  30.     # alert, emerg.
  31.     LogLevel warn
  32.  
  33.     CustomLog /var/log/apache2/RRRR combined
  34.  
  35. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement