Mailinglist Archive: opensuse-edu (62 mails)
| < Previous | Next > |
.htaccess - More Help Please
- From: "adrian.wells" <adrian.wells@xxxxxxxxxxxxx>
- Date: Wed, 4 Feb 2004 16:55:43 +0000 (UTC)
- Message-id: <000801c3eb3f$7ba84c40$3185add4@stn076>
Can anyone help please?
I'm using apache, for our intranet (also using squid, but this is bypassed
for local addresses) and want to password protect a folder at...
file:/usr/local/httpd/htdocs/ict
This equates to http://myipaddress/ict/ on a browser
This folder also contains my .htaccess file which contains the following
text...
<SNIP>
AuthType Basic
AuthName "ict Dept. Only"
AuthUserFile /.htpasswd/usr/local/httpd/htdocs/ict/PASSWD
require valid-user
</SNIP>
I have tried several paths for my Password file(!), but it is now at...
file:/.htpasswd/usr/local/httpd/htdocs/ict/
This contains my PASSWD file. I have one password in the format
user:password crlf
My first attempt for the PASSWD file was...
file:/.htpasswd/ict/
Which seemed logical since the ict folder is in the root of the intranet.
I can browse directly to http://myipaddress/ict/ from a browser on a
networked machine.
What am I doing wrong?
I'm using apache, for our intranet (also using squid, but this is bypassed
for local addresses) and want to password protect a folder at...
file:/usr/local/httpd/htdocs/ict
This equates to http://myipaddress/ict/ on a browser
This folder also contains my .htaccess file which contains the following
text...
<SNIP>
AuthType Basic
AuthName "ict Dept. Only"
AuthUserFile /.htpasswd/usr/local/httpd/htdocs/ict/PASSWD
require valid-user
</SNIP>
I have tried several paths for my Password file(!), but it is now at...
file:/.htpasswd/usr/local/httpd/htdocs/ict/
This contains my PASSWD file. I have one password in the format
user:password crlf
My first attempt for the PASSWD file was...
file:/.htpasswd/ict/
Which seemed logical since the ict folder is in the root of the intranet.
I can browse directly to http://myipaddress/ict/ from a browser on a
networked machine.
What am I doing wrong?
| < Previous | Next > |