Advertisement
Guest User

Another flawed domain

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