Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

htaccess doesn t work

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
htaccess doesn't work - hi, i made an htaccess file with htpasswd file but it didn't seem to worl on that so i have to make an entry in for using htaccess?

I cant get .htaccess to work - I am runnning apache on SuSE 7.2 pro, I have several Virtual hosts all working correctly - I want to password protect one of the but it doesnt want to work. I have added into the as follows ..

why doesn't this .htaccess work? - My admin said is installed on my Apache server, version 1.3.27. I have in tried several of the .htaccess contents to see if any of them work, none have. Tried not full path, full path,... Here is what is in..

htaccess include_path doesn't work - Hi I tried getting help from and got no response so I'm hoping there's a guru here that would help me. I'm trying to set a 'default' include path for the entire site using an file but it doesn't work. The include path always..

htaccess password won't work... - Hi, I getting a bit insane of the .htaccess stuff... I just trying out how to set a password to a directory on my windows notebook. Now I've set all files in the root. The request for a password is fine but it won't accept mine... In all the
Next:  Apache: Apache 2 - Two Authentifications  
Author Message
Thomas Barth

External


Since: Aug 30, 2005
Posts: 5



(Msg. 1) Posted: Wed Mar 15, 2006 7:55 am
Post subject: htaccess doesn t work
Archived from groups: alt>apache>configuration (more info?)

Hi,
when entering the required user and password, the webserver asks for it
again and again!
I ve created the password file with htpasswd. The .htaccess file
contains the lines:

AuthType Basic
AuthName "Restricted Area!"
AuthUserFile /.../passwords
Require user tbarth


The virtualhost contains

<Directory /.../htdocs>
Options Indexes FollowSymLinks MultiViews
AllowOverride AuthConfig
Order allow,deny
allow from all
</Directory>

Do you have any idea, what the problem is?

T h o m a s B

 >> Stay informed about: htaccess doesn t work 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Wed Mar 15, 2006 7:55 am
Post subject: Re: htaccess doesn t work [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

This message is not archived

 >> Stay informed about: htaccess doesn t work 
Back to top
Login to vote
Thomas Barth

External


Since: Aug 30, 2005
Posts: 5



(Msg. 3) Posted: Wed Mar 15, 2006 9:55 am
Post subject: Re: htaccess doesn t work [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Davide Bianchi wrote, On 03/15/2006 01:12 PM:
> On 2006-03-15, Thomas Barth <txbarth RemoveThis @web.de> wrote:
>> when entering the required user and password, the webserver asks for it
>> again and again!
>
> Check in the log files, there should be a better explanation for the
> error, error that could be: the password file is wrong, can't be
> read, can't be accessed...
>

Stupid me. I tailed the wrong error.log and was wondering why I dont get
any access or error messages Smile The correct error.log prints

[Wed Mar 15 13:29:01 2006] [error] [client 127.0.0.1] (13)Permission
denied: Could not open password file: /.../passwd/passwords
[Wed Mar 15 13:29:01 2006] [error] [client 127.0.0.1] user tbarth not
found: /

Well, I ve changed the permissions. It works by now.

T h o m a s B
 >> Stay informed about: htaccess doesn t work 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]