Apache ?

Jeremy Claeson jclaeson at cs.washington.edu
Tue Jan 28 09:31:10 PST 2003


I've tried adding index.cgi to the list of default docs (under
mod_dir.c) but I still get a page not found error for that virtual
server. Not a 404 error, but a cannot find server error.

Here's how I've tried to configure the virtual host:
<VirtualHost *>  
    ServerName sqwebmail.somedomainthatwillremainanonymous.com
    DocumentRoot /usr/local/www/sqwebmail
    
    ScriptAlias / "/usr/local/www/sqwebmail/"
    
    <Directory "/usr/local/www/sqwebmail">
        AllowOverride None
        Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

All of the other virtual hosts resolve without problems, just this one
isn't working.

Thanks!
jer

> -----Original Message-----
> From: LINUX-owner at u.washington.edu
[mailto:LINUX-owner at u.washington.edu]
> On Behalf Of Evan Martin
> Sent: Monday, January 27, 2003 11:56 PM
> To: UW Linux Group
> Subject: Re: Apache ?
> 
> On Mon, Jan 27, 2003 at 10:18:26PM -0800, Jeremy Claeson wrote:
> > I've tried changing the directives in httpd.conf to enable cgi
> > programs to be executed from the doc/root and I've also renamed the
> > program to index.cgi and added that to the list of default docs like
> > index.html.
> 
> It would help if you provided a little more information:
> What happens when you point a browser at these paths?  Do you get an
> error?  Do you get the source of the file?
> 
> --
>       Evan Martin
> martine at cs.washington.edu
>   http://neugierig.org




More information about the Linux mailing list