AllowOverride all not reading ,htaccess

This is a discussion on AllowOverride all not reading ,htaccess within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi All, I think I need another pair of eyes to see what I am doing wrong. I cannot get ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-11-2008
Brian S. Paskin
 
Posts: n/a
Default AllowOverride all not reading ,htaccess

Hi All,

I think I need another pair of eyes to see what I am doing wrong. I
cannot get the AllowOverride All to accept the .htaccess information.

<Directory /var/www/mydir>
AllowOverride All
Order allow,deny
Allow from all
</Directory>

..htaccess:
AuthName "Domain Password Required"
AuthType Basic
AuthUserFile /var/www/.htpasswd
AuthGroupFile /dev/null
require user helvete

Options +Indexes
IndexOptions +FancyIndexing

<Files .htaccess>
order allow,deny
deny from all
</Files>

Any help would be appreciated.

Regards, Brian

  #2 (permalink)  
Old 03-11-2008
phantom
 
Posts: n/a
Default Re: AllowOverride all not reading ,htaccess

"Brian S. Paskin" <brian@paskino.com> wrote in message
news:caea27eb-f05f-4616-8934-4f19719d53e2@m36g2000hse.googlegroups.com...
> Hi All,
>
> I think I need another pair of eyes to see what I am doing wrong. I
> cannot get the AllowOverride All to accept the .htaccess information.
>
> <Directory /var/www/mydir>
> AllowOverride All
> Order allow,deny
> Allow from all
> </Directory>
>
> .htaccess:
> AuthName "Domain Password Required"
> AuthType Basic
> AuthUserFile /var/www/.htpasswd
> AuthGroupFile /dev/null
> require user helvete
>


This should work - I've just tried it on an apache server (2.0.49) and it
works as expected.
This is assuming that your .htaccess file is in /var/www/mydir/ or a
subdirectory inside it.


  #3 (permalink)  
Old 03-11-2008
Brian S. Paskin
 
Posts: n/a
Default Re: AllowOverride all not reading ,htaccess

On Mar 11, 12:51 pm, "phantom" <nob...@blueyonder.invalid> wrote:

>
> This should work - I've just tried it on an apache server (2.0.49) and it
> works as expected.
> This is assuming that your .htaccess file is in /var/www/mydir/ or a
> subdirectory inside it.


Hmm... Apache is reporting version 2.2.4.

I checked and mydir is where the .htaccess file is located.

Maybe they changed something on the new version.

Regards, Brian

  #4 (permalink)  
Old 03-11-2008
Brian S. Paskin
 
Posts: n/a
Default Re: AllowOverride all not reading ,htaccess

Always a stupid error! I had the wrong permissions on the .htaccess
file and the Apache process could not read the file.

Thanks,
Brian
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:42 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0