httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason" <j...@cartmanager.net>
Subject Re: problem with authentication while doing a redirect
Date Mon, 22 Apr 2002 16:09:20 GMT
Thank you...

worked like a charm.


----- Original Message ----- 
From: "Joshua Slive" <joshua@slive.ca>
To: <users@httpd.apache.org>
Sent: Monday, April 22, 2002 9:28 AM
Subject: Re: problem with authentication while doing a redirect


> Jason wrote:
> > I have a conf file with
> > <Location /cgi-bin/viewOrder.cgi>
> 
> > When I try to access each location, it requires authentication as expected.  However
when I add the line
> > ScriptAliasMatch ^/orders/jter/(.*?)$ /home/vshopper/public_html/cgi-bin/viewOrder.cgi
> > into my virtualhost it does not require ANY authentication for anything that matches
the pattern...
> > 
> > Does anybody know why this happens, and can you give me some advice in getting it
to authenticate properly with the alias.
> 
> <Location> matches against URLs only.  If the client isn't requesting a 
> URL that looks like http://yoursite.example.com/cgi-bin/viewOrder.cgi, 
> then that <Location> section doesn't do anything.  What you probably want is
> <Directory /home/vshopper/public_html/cgi-bin/>
> <Files viewOrder.cgi>
> require ...
> </Files>
> </Directory>
> which is much safer anyway.
> 
> Joshua.
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message