Apache ?

Cliff Olmsted cliffo at u.washington.edu
Tue Jan 28 13:16:06 PST 2003


The other thing you might take a look as is some of the redirect options 
in apache.  I think you can redirect via .htaccess or via httpd.conf 
such that anyone accessing http://mymail.blah.net would be redirected to 
http://mymail.blah.net/mailprog.cgi or something similar to that...

Cliff

Jeremy Claeson wrote:

>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
>
>Ps - I sent this a few hours ago, but I havent seen it on the list
>yet... Sorry if you're getting this twice.
>
>  
>
>>-----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