Re: [cgiwrap-users] CGI and .htaccess precedence
Brought to you by:
nneul
From: Nathan N. <nn...@um...> - 2005-06-21 20:12:45
|
Please read docs - cgiwrap will not work with .htaccess files as you have described. There is a specific mechanism that has to be followed. If that type of support is critical, have a look at suexec. -- Nathan On Tue, Jun 21, 2005 at 11:36:40AM +0100, gwilson wrote: > Hi all! > > I am using CGI wrap along with rewrite rules to basically force all .php > files to be > executed through cgiwrap - this works very well. > > I havce noticed off behaviour though. If I create a .htaccess and > .htpasswd in a > directory and have an index.html file in there too - when I browse to > it, I get prompted > for the username and password as you would expect. > > But if I replace the index.html with an index.php - somehow CGI wrap takes > precedence and the contents of the file is displayed instead of being > asked for a username and password. > > Can anyone explain why this happens and what needs to be done to get Apache > to utilise .htaccess BEFORE anything else? > > Many thanks > > GW > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > cgiwrap-users mailing list > cgi...@li... > https://lists.sourceforge.net/lists/listinfo/cgiwrap-users > -- Nathan ------------------------------------------------------------ Nathan Neulinger EMail: nn...@um... University of Missouri - Rolla Phone: (573) 341-6679 UMR Information Technology Fax: (573) 341-4216 |