Advertisement
Guest User

A non-flawed conf

a guest
Sep 3rd, 2014
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. <VirtualHost 46.105.61.182:80 [2001:41D0:A:3Da2::1]:80>
  2. SuexecUserGroup "#1017" "#1011"
  3. ServerName paumadou.com
  4. ServerAlias www.paumadou.com
  5. ServerAlias webmail.paumadou.com
  6. ServerAlias admin.paumadou.com
  7. ServerAlias *.paumadou.com
  8. DocumentRoot /home/paumadou/public_html
  9. ErrorLog /var/log/virtualmin/paumadou.com_error_log
  10. CustomLog /var/log/virtualmin/paumadou.com_access_log combined
  11. ScriptAlias /cgi-bin/ /home/paumadou/cgi-bin/
  12. ScriptAlias /awstats/ /home/paumadou/cgi-bin/
  13. DirectoryIndex index.html index.htm index.php index.php4 index.php5
  14. <Directory /home/paumadou/public_html>
  15. Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
  16. allow from all
  17. AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
  18. AddHandler fcgid-script .php
  19. AddHandler fcgid-script .php5
  20. FCGIWrapper /home/paumadou/fcgi-bin/php5.fcgi .php
  21. FCGIWrapper /home/paumadou/fcgi-bin/php5.fcgi .php5
  22. </Directory>
  23. <Directory /home/paumadou/cgi-bin>
  24. allow from all
  25. AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
  26. </Directory>
  27. RewriteEngine on
  28. RewriteCond %{HTTP_HOST} =webmail.paumadou.com
  29. RewriteRule ^(.*) https://paumadou.com:20000/ [R]
  30. RewriteCond %{HTTP_HOST} =admin.paumadou.com
  31. RewriteRule ^(.*) https://paumadou.com:10000/ [R]
  32. <Files awstats.pl>
  33. AuthName "paumadou.com statistics"
  34. AuthType Basic
  35. AuthUserFile /home/paumadou/.awstats-htpasswd
  36. require valid-user
  37. </Files>
  38. RemoveHandler .php
  39. RemoveHandler .php5
  40. php_admin_value engine Off
  41. IPCCommTimeout 31
  42. FcgidMaxRequestLen 1073741824
  43. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement