Go Back   Cyber Tech Help Support Forums > Software > Web Development & Graphic Design


Topic Tools
Old November 4th, 2004, 02:07 PM
gideonwilliams gideonwilliams is offline
New Member
Join Date: Nov 2004
Posts: 1
htaccess problem

We house our own website on a Navaho CAT server.
We have set up the .htaccess file and .htpasswd file as instructed
We made sure they are not text files etc.made sure they were read only
Made sure they were in a sub directory
We cannot use Cmod or similar, to set properties of files. We can only go through right click etc.

Problem: We can still access a page from this folder on the website - its as if the .htaccess was not there. no error message or password box - nothing

Our folder is located on \\Server9\intranet\turkey so I guess the UNIX pathway is /Server9/intranet/turkey?

Here is our coding for .htaccess:
AuthUserFile /Server9/intranet/turkey/.htpasswd
AuthGroupFile /dev/null
AuthName "Password Protected Area"
AuthType Basic

require user lyn

.passwd file

We are going mad

Please help many thanks
Reply With Quote

Old November 28th, 2004, 06:47 AM
twistedcranium's Avatar
twistedcranium twistedcranium is offline
CTH Subscriber
Join Date: May 2003
Posts: 1,133
Just noted something that might just be the way you presented the material here, but worth mentioning is the fact that you list the contents of a ".passwd" file and then in the .htaccess file the password filename referenced by the AuthUserName line is ".htpasswd".

If this is the way that you actually named the files, then there is going to be a problem with the password protection because the filenames do not match. If they do not match, the apache server will allow the access.
Reply With Quote
Old November 28th, 2004, 05:17 PM
degsy's Avatar
degsy degsy is offline
Cyber Tech Help Moderator
Join Date: Jul 2001
Location: North-East, UK
Posts: 22,476
You may not be referencing the full path.

If you have PHP available then you can get the full path via PHPINFO()
Reply With Quote


Topic Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 05:14 PM.