Advertisement
Guest User

a flawed conf

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