Advertisement
Guest User

Untitled

a guest
Dec 25th, 2013
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerAdmin webmaster@localhost
  3.  
  4. DocumentRoot /var/www
  5. <Directory />
  6. RewriteEngine On
  7. Options FollowSymLinks
  8. AllowOverride All
  9. </Directory>
  10. <Directory /var/www/>
  11. RewriteEngine On
  12. Options Indexes FollowSymLinks MultiViews
  13. AllowOverride All
  14. Order allow,deny
  15. allow from all
  16. </Directory>
  17.  
  18. Alias /phpmyadmin /usr/share/phpmyadmin
  19. <Directory /usr/share/phpmyadmin>
  20. Options FollowSymLinks
  21. DirectoryIndex index.php
  22. Order deny,allow
  23. Deny from all
  24. Allow from 127.0.0.1/255.255.0.0
  25. <IfModule mod_php5.c>
  26. AddType application/x-httpd-php .php
  27.  
  28. php_flag magic_quotes_gpc Off
  29. php_flag track_vars On
  30. php_flag register_globals Off
  31. php_value include_path .
  32. </IfModule>
  33. </Directory>
  34. ErrorLog ${APACHE_LOG_DIR}/error.log
  35.  
  36. # Possible values include: debug, info, notice, warn, error, crit,
  37. # alert, emerg.
  38. LogLevel warn
  39.  
  40. CustomLog ${APACHE_LOG_DIR}/access.log combined
  41.  
  42.  
  43. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement