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