Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost _default_:80>
- SuexecUserGroup "#1003" "#1003"
- ServerName test.wwmcd.org
- ServerAlias www.test.wwmcd.org
- ServerAlias webmail.test.wwmcd.org
- ServerAlias admin.test.wwmcd.org
- DocumentRoot /home/wwmcd/domains/test.wwmcd.org/public_html
- ErrorLog /var/log/virtualmin/test.wwmcd.org_error_log
- CustomLog /var/log/virtualmin/test.wwmcd.org_access_log combined
- ScriptAlias /cgi-bin/ /home/wwmcd/domains/test.wwmcd.org/cgi-bin/
- DirectoryIndex index.html index.htm index.php index.php4 index.php5
- <Directory /home/wwmcd/domains/test.wwmcd.org/public_html>
- Options -Indexes +IncludesNOEXEC +FollowSymLinks
- allow from all
- AllowOverride All
- </Directory>
- <Directory /home/wwmcd/domains/test.wwmcd.org/cgi-bin>
- allow from all
- </Directory>
- RewriteEngine on
- RewriteCond %{HTTP_HOST} =webmail.test.wwmcd.org
- RewriteRule ^(.*) http://test.wwmcd.org:20000/ [R]
- RewriteCond %{HTTP_HOST} =admin.test.wwmcd.org
- RewriteRule ^(.*) https://test.wwmcd.org:10000/ [R]
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement