httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Marc Lachaine" <jmjml...@tbaytel.net>
Subject Re: [users@httpd] Newbie Need Help
Date Wed, 05 Jan 2005 21:17:39 GMT
I'm not much more than a Newbie myself but I handle all of my redirection
using redirects in my conf file. Lots of good info in the Apache docs about
redirection that way. The gurus may have better ideas though. Best of luck.

JML

----- Original Message ----- 
From: "Zia Syed" <zia.chacho@gmail.com>
To: <users@httpd.apache.org>
Sent: Wednesday, January 05, 2005 3:47 PM
Subject: [users@httpd] Newbie Need Help


> Hi,
>
> I'm new to Apache HTTP. I would like to host squirrelmail webclient on
> my apache server with /mail directive e.g http://my.server.com/mail .
> So far looking into documentation I found about <VirtualHost>.  I want
> to use port 80 for both my normal website as well as for webmail.
> According to documentation, with VirtualHost, i can use different
> ports, however, this is not want i want to achieve. I want to have
> normal website at http://my.server.com and webmail at
> http://my.server.com/mail which redirects users to squirrelmail login.
> I've pasted the snippet from my httpd.conf file. I know it should be
> simple enough to do, but can't find any documentation about it, or
> perhaps I'm searching with wrong query term on google.
>
> Please advise.
>
> Thanks,
>
> Zia
>
> ------httpd.conf----------
>
> <VirtualHost *>
>  ServerSignature email
>         DirectoryIndex  index.php index.html index.htm index.shtml
>         LogLevel  warn
>         HostNameLookups off
> </VirtualHost>
> <VirtualHost 192.168.0.2>
> ServerName melville.homeip.net
> ServerAlias *.mail
> ServerAdmin postmaster@melville.homeip.net
> DocumentRoot /var/www/webmail
> </VirtualHost>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message