RE: Neomail / Apache question

"nmr" <[email protected]>
Newsgroups gmane.mail.neomail.general
Message-ID <[email protected]>
> From: "Dallace Marable" <[email protected]>
> To: <[email protected]>
> Date: Sat, 10 May 2003 17:21:23 -0400
> [Neomail-users] Neomail / Apache question
>
> Hey everyone,
>
> First, off, I've just installed my second copy of Neomail and the install
> went perfect. Great Product Ernie!   I'm using Debian, with
> Apache-ssl. The
> new system is in process to replace my old server(suse 7.0), and while
> installing Neomail, I had a question come up.
>
> This probably doesn't completely belong here, but I'm going to ask anyway.
>
> Is there any way to setup an apache virtual host to point to
> blah.domain.com/cgi-bin/neomail.pl so that when you type in
> "http://blah.domain.com" you get the neomail login page without doing
> browser "redirects" ?
>
> Thanks,
>
> Dallace


Search for the Apache VirtualHost directive and how to use it
to set up virtual hostnames. THis has nothing to do with NeoMail
as such.

BTW, this is exactly how my server is set up.

Here's a sample VirtualHost block from httpd.conf.
Your specific config may vary slightly - not all the
directives below are mandatory.

<VirtualHost *>
    AddHandler cgi-script pl
    DirectoryIndex neomail.pl
    DocumentRoot /usr/local/apache/cgi-bin
    ServerName webmail.domain.name
    ErrorLog logs/webmail.domain.name-http-error.log
    CustomLog logs/webmail.domain.name-http-access.log common
</VirtualHost>


Of course, you need to create your DNS record(s) first.

--
Nick




-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.