Advertisement
Guest User

ispconfig_htaccess_config

a guest
Jun 9th, 2014
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.16 KB | None | 0 0
  1. ################################################
  2. # ISPConfig Logfile configuration for vlogger
  3. ################################################
  4.  
  5. LogFormat "%v %h %l %u %t \"%r\" %>s %B \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig
  6. CustomLog "| /usr/local/ispconfig/server/scripts/vlogger -s access.log -t \"%Y%m%d-access.log\" /var/log/ispconfig/httpd" combined_ispconfig
  7.  
  8. <Directory /var/www/clients>
  9. AllowOverride All
  10. Order Deny,Allow
  11. Deny from all
  12. </Directory>
  13.  
  14. # Do not allow access to the root file system of the server for security reasons
  15. <Directory />
  16. AllowOverride None
  17. Order Deny,Allow
  18. Deny from all
  19. </Directory>
  20.  
  21. <Directory /var/www/conf>
  22. AllowOverride None
  23. Order Deny,Allow
  24. Deny from all
  25. </Directory>
  26.  
  27. # Except of the following directories that contain website scripts
  28. <Directory /usr/share/phpmyadmin>
  29. Order allow,deny
  30. Allow from all
  31. </Directory>
  32.  
  33. <Directory /usr/share/phpMyAdmin>
  34. Order allow,deny
  35. Allow from all
  36. </Directory>
  37.  
  38. <Directory /srv/www/htdocs>
  39. Order allow,deny
  40. Allow from all
  41. </Directory>
  42.  
  43. <Directory /usr/share/squirrelmail>
  44. Order allow,deny
  45. Allow from all
  46. </Directory>
  47.  
  48. # Allow access to mailman on OpenSuSE
  49. <Directory /usr/lib/mailman/cgi-bin>
  50. Order allow,deny
  51. Allow from all
  52. </Directory>
  53.  
  54. <Directory /usr/lib/mailman/icons>
  55. Order allow,deny
  56. Allow from all
  57. </Directory>
  58.  
  59. <Directory /var/lib/mailman/archives/>
  60. Options +FollowSymLinks
  61. Order allow,deny
  62. Allow from all
  63. </Directory>
  64.  
  65. # allow path to awstats and alias for awstats icons
  66. <Directory /usr/share/awstats>
  67. Order allow,deny
  68. Allow from all
  69. </Directory>
  70.  
  71. Alias /awstats-icon "/usr/share/awstats/icon"
  72.  
  73. NameVirtualHost *:80
  74. NameVirtualHost *:443
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement