Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost 162.243.158.123:80>
- SuexecUserGroup "#1000" "#1000"
- ServerName perfectprofiler.com
- ServerAlias www.perfectprofiler.com
- ServerAlias webmail.perfectprofiler.com
- ServerAlias admin.perfectprofiler.com
- ServerAlias autoconfig.perfectprofiler.com
- DocumentRoot /home/perfectprofiler/public_html
- ErrorLog /var/log/virtualmin/perfectprofiler.com_error_log
- CustomLog /var/log/virtualmin/perfectprofiler.com_access_log combined
- ScriptAlias /cgi-bin/ /home/perfectprofiler/cgi-bin/
- ScriptAlias /awstats/ /home/perfectprofiler/cgi-bin/
- ScriptAlias /AutoDiscover/AutoDiscover.xml /home/perfectprofiler/cgi-bin/autoconfig.cgi
- ScriptAlias /autodiscover/autodiscover.xml /home/perfectprofiler/cgi-bin/autoconfig.cgi
- DirectoryIndex index.html index.htm index.php index.php4 index.php5
- <Directory /home/perfectprofiler/public_html>
- Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
- allow from all
- AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
- AddHandler fcgid-script .php
- AddHandler fcgid-script .php5
- FCGIWrapper /home/perfectprofiler/fcgi-bin/php5.fcgi .php
- FCGIWrapper /home/perfectprofiler/fcgi-bin/php5.fcgi .php5
- </Directory>
- <Directory /home/perfectprofiler/cgi-bin>
- allow from all
- AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
- </Directory>
- RewriteEngine on
- RewriteCond %{HTTP_HOST} =webmail.perfectprofiler.com
- RewriteRule ^(.*) https://perfectprofiler.com:20000/ [R]
- RewriteCond %{HTTP_HOST} =admin.perfectprofiler.com
- RewriteRule ^(.*) https://perfectprofiler.com:10000/ [R]
- RemoveHandler .php
- RemoveHandler .php5
- php_admin_value engine Off
- IPCCommTimeout 31
- FcgidMaxRequestLen 1073741824
- <Files awstats.pl>
- AuthName "perfectprofiler.com statistics"
- AuthType Basic
- AuthUserFile /home/perfectprofiler/.awstats-htpasswd
- require valid-user
- </Files>
- RedirectMatch /cgi-bin/mailman/([^/\.]*)(.cgi)?(.*) https://perfectprofiler.com:10000/virtualmin-mailman/unauthenticated/$1.cgi$3
- RedirectMatch /mailman/([^/\.]*)(.cgi)?(.*) https://perfectprofiler.com:10000/virtualmin-mailman/unauthenticated/$1.cgi$3
- Alias /pipermail /var/lib/mailman/archives/public
- Redirect /mail/config-v1.1.xml http://perfectprofiler.com/cgi-bin/autoconfig.cgi
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement