Advertisement
crazyadmin

joomla site .conf

Aug 27th, 2014
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1. <VirtualHost 162.243.158.123:80>
  2. SuexecUserGroup "#1000" "#1000"
  3. ServerName perfectprofiler.com
  4. ServerAlias www.perfectprofiler.com
  5. ServerAlias webmail.perfectprofiler.com
  6. ServerAlias admin.perfectprofiler.com
  7. ServerAlias autoconfig.perfectprofiler.com
  8. DocumentRoot /home/perfectprofiler/public_html
  9. ErrorLog /var/log/virtualmin/perfectprofiler.com_error_log
  10. CustomLog /var/log/virtualmin/perfectprofiler.com_access_log combined
  11. ScriptAlias /cgi-bin/ /home/perfectprofiler/cgi-bin/
  12. ScriptAlias /awstats/ /home/perfectprofiler/cgi-bin/
  13. ScriptAlias /AutoDiscover/AutoDiscover.xml /home/perfectprofiler/cgi-bin/autoconfig.cgi
  14. ScriptAlias /autodiscover/autodiscover.xml /home/perfectprofiler/cgi-bin/autoconfig.cgi
  15. DirectoryIndex index.html index.htm index.php index.php4 index.php5
  16. <Directory /home/perfectprofiler/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/perfectprofiler/fcgi-bin/php5.fcgi .php
  23. FCGIWrapper /home/perfectprofiler/fcgi-bin/php5.fcgi .php5
  24. </Directory>
  25. <Directory /home/perfectprofiler/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.perfectprofiler.com
  31. RewriteRule ^(.*) https://perfectprofiler.com:20000/ [R]
  32. RewriteCond %{HTTP_HOST} =admin.perfectprofiler.com
  33. RewriteRule ^(.*) https://perfectprofiler.com:10000/ [R]
  34. RemoveHandler .php
  35. RemoveHandler .php5
  36. php_admin_value engine Off
  37. IPCCommTimeout 31
  38. FcgidMaxRequestLen 1073741824
  39. <Files awstats.pl>
  40. AuthName "perfectprofiler.com statistics"
  41. AuthType Basic
  42. AuthUserFile /home/perfectprofiler/.awstats-htpasswd
  43. require valid-user
  44. </Files>
  45. RedirectMatch /cgi-bin/mailman/([^/\.]*)(.cgi)?(.*) https://perfectprofiler.com:10000/virtualmin-mailman/unauthenticated/$1.cgi$3
  46. RedirectMatch /mailman/([^/\.]*)(.cgi)?(.*) https://perfectprofiler.com:10000/virtualmin-mailman/unauthenticated/$1.cgi$3
  47. Alias /pipermail /var/lib/mailman/archives/public
  48. Redirect /mail/config-v1.1.xml http://perfectprofiler.com/cgi-bin/autoconfig.cgi
  49. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement