Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost 128.199.71.60:80>
- SuexecUserGroup "#1002" "#1002"
- ServerName ahsanshahzad.com
- ServerAlias www.ahsanshahzad.com
- ServerAlias webmail.ahsanshahzad.com
- ServerAlias admin.ahsanshahzad.com
- DocumentRoot /home/ahsanshahzad/public_html
- ErrorLog /var/log/virtualmin/ahsanshahzad.com_error_log
- CustomLog /var/log/virtualmin/ahsanshahzad.com_access_log combined
- ScriptAlias /cgi-bin/ /home/ahsanshahzad/cgi-bin/
- DirectoryIndex index.html index.htm index.php index.php4 index.php5
- <Directory /home/ahsanshahzad/public_html>
- Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch +ExecCGI
- allow from all
- AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
- Require all granted
- AddType application/x-httpd-php .php
- AddHandler fcgid-script .php
- AddHandler fcgid-script .php5
- FCGIWrapper /home/ahsanshahzad/fcgi-bin/php5.fcgi .php
- FCGIWrapper /home/ahsanshahzad/fcgi-bin/php5.fcgi .php5
- </Directory>
- <Directory /home/ahsanshahzad/cgi-bin>
- allow from all
- AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
- Require all granted
- </Directory>
- RewriteEngine on
- RewriteCond %{HTTP_HOST} =webmail.ahsanshahzad.com
- RewriteRule ^(.*) https://ahsanshahzad.com:20000/ [R]
- RewriteCond %{HTTP_HOST} =admin.ahsanshahzad.com
- RewriteRule ^(.*) https://ahsanshahzad.com:10000/ [R]
- RemoveHandler .php
- RemoveHandler .php5
- php_admin_value engine Off
- IPCCommTimeout 31
- FcgidMaxRequestLen 1073741824
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement