1

Topic: Virtual hosts

I have a couple of domains on the server that serve up some web pages.
I'm having trouble with my httpd config though.

If I go to www.domain1.com/webmail that's fin
If I go to www.domain2.com/webmail that's fine as well.
How to I prevent www.domain2.com/postfixadmin www.domain2.com/phpmyadmin...etc..etc

I don't mind the other domains getting the webmail alias but I don't want them to be able to access postfixadmin and phpmyadmin..etc..etc.

Also, there should be a way to force those aliases to go to ssl as well right?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Virtual hosts

For apache virtual host settings, please refer to official doc: http://httpd.apache.org/docs/2.2/vhosts/

Also, there should be a way to force those aliases to go to ssl as well right?

In iRedMail -current, all web-based admin tools are forced to use https://, not http://.

3 (edited by scrummie02 2009-05-19 08:19:13)

Re: Virtual hosts

it does, cool.
how did you do that with the admin tools and not the webmail.  I'm looking at the config files and I can't see it.

edit:  I found it.  Thanks.
I haven't ever used mod-rewrite before.  This will be tricky.