Advertisement
Guest User

Untitled

a guest
Jan 11th, 2012
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. <VirtualHost _default_:80>
  2. SuexecUserGroup "#1003" "#1003"
  3. ServerName test.wwmcd.org
  4. ServerAlias www.test.wwmcd.org
  5. ServerAlias webmail.test.wwmcd.org
  6. ServerAlias admin.test.wwmcd.org
  7. DocumentRoot /home/wwmcd/domains/test.wwmcd.org/public_html
  8. ErrorLog /var/log/virtualmin/test.wwmcd.org_error_log
  9. CustomLog /var/log/virtualmin/test.wwmcd.org_access_log combined
  10. ScriptAlias /cgi-bin/ /home/wwmcd/domains/test.wwmcd.org/cgi-bin/
  11. DirectoryIndex index.html index.htm index.php index.php4 index.php5
  12. <Directory /home/wwmcd/domains/test.wwmcd.org/public_html>
  13. Options -Indexes +IncludesNOEXEC +FollowSymLinks
  14. allow from all
  15. AllowOverride All
  16. </Directory>
  17. <Directory /home/wwmcd/domains/test.wwmcd.org/cgi-bin>
  18. allow from all
  19. </Directory>
  20. RewriteEngine on
  21. RewriteCond %{HTTP_HOST} =webmail.test.wwmcd.org
  22. RewriteRule ^(.*) http://test.wwmcd.org:20000/ [R]
  23. RewriteCond %{HTTP_HOST} =admin.test.wwmcd.org
  24. RewriteRule ^(.*) https://test.wwmcd.org:10000/ [R]
  25. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement