This is a discussion on My .htaccess is being ignored! within the Windows Web Servers forums, part of the Web Server and Related Forums category; Running: Apache 2.0.49 & PHP 4.3.7 On: Windows XP Professional (SP1a) I am trying to password-...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Running: Apache 2.0.49 & PHP 4.3.7
On: Windows XP Professional (SP1a) I am trying to password-protect a directory on my local web server. When I type in http://localhost/<folder> (which contains an .htaccess file), the index page is being displayed, as if the htaccess file is being ignored. I have read the Apache documentation and have configured my httpd.conf file as it should be, in-order to get htaccess to work. Help and suggestions would be greatly appriciated. |
|
|||
|
DaveR wrote: > When I type in http://localhost/<folder> (which contains an .htaccess > file), the index page is being displayed, as if the htaccess file is > being ignored. <URL:http://httpd.apache.org/docs/misc/FAQ.html#htaccess-work> Thor -- http://www.anta.net/ |
|
|||
|
Thor Kottelin <thor@anta.net> wrote in message news:<40D5308A.8E9D28E@anta.net>...
> DaveR wrote: > > > When I type in http://localhost/<folder> (which contains an .htaccess > > file), the index page is being displayed, as if the htaccess file is > > being ignored. > > <URL:http://httpd.apache.org/docs/misc/FAQ.html#htaccess-work> > > Thor Tried that already. I even have... <Directory "C:/Program Files/WWWRoot/*"> Options All AllowOverride All Order allow,deny Allow from all </Directory> ....in my config. With or without the /* it still doesn't work! Error log file isn't even reporting an error. |
|
|||
|
Try AllowOverride AuthConfig Limit. And I presume u restart the server after
u make changes to conf file? R "DaveR" <dave@scriptnet.net> wrote in message news:39d7f54d.0406200253.3043181b@posting.google.c om... > Thor Kottelin <thor@anta.net> wrote in message news:<40D5308A.8E9D28E@anta.net>... > > DaveR wrote: > > > > > When I type in http://localhost/<folder> (which contains an .htaccess > > > file), the index page is being displayed, as if the htaccess file is > > > being ignored. > > > > <URL:http://httpd.apache.org/docs/misc/FAQ.html#htaccess-work> > > > > Thor > > Tried that already. I even have... > > <Directory "C:/Program Files/WWWRoot/*"> > Options All > AllowOverride All > Order allow,deny > Allow from all > </Directory> > > ...in my config. With or without the /* it still doesn't work! Error > log file isn't even reporting an error. |
|
|||
|
Still doesn't work!!
Have I encountered a bug or something, because I have followed everyone's suggestion and always restarted the service, but it still doesn't work!! "Robin Strahan" <noprobsucd@hotmail.com> wrote in message news:<newscache$mcjozh$q85$1@weblab.ucd.ie>... > Try AllowOverride AuthConfig Limit. And I presume u restart the server after > u make changes to conf file? > > R > > "DaveR" <dave@scriptnet.net> wrote in message > news:39d7f54d.0406200253.3043181b@posting.google.c om... > > Thor Kottelin <thor@anta.net> wrote in message > news:<40D5308A.8E9D28E@anta.net>... > > > DaveR wrote: > > > > > > > When I type in http://localhost/<folder> (which contains an .htaccess > > > > file), the index page is being displayed, as if the htaccess file is > > > > being ignored. > > > > > > <URL:http://httpd.apache.org/docs/misc/FAQ.html#htaccess-work> > > > > > > Thor > > > > Tried that already. I even have... > > > > <Directory "C:/Program Files/WWWRoot/*"> > > Options All > > AllowOverride All > > Order allow,deny > > Allow from all > > </Directory> > > > > ...in my config. With or without the /* it still doesn't work! Error > > log file isn't even reporting an error. |