[Date Prev][Date
Next][Thread Prev][Thread Next][Date
Index][Thread Index]
Using Apache
That make much more sense, Thanks Mark, but I still can not get the
password bit to work...
As I understand it I have created a file called "passwords" and
that looks okay,
next I have created a file called .htaccess, which looks like the
following,
# $Id: .htaccess,v 1.16 2003/10/12 20:57:27 bharat Exp $
<IfModule sapi_apache2.c>
php_value auto_prepend_file ./php_value_ok.php
php_value magic_quotes_gpc off
</IfModule>
<IfModule mod_php4.c>
php_value auto_prepend_file ./php_value_ok.php
php_value magic_quotes_gpc off
</IfModule>
Options +FollowSymLinks
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule
^(index.php)$ index.php?init_mod_rewrite=1&ersandbroken= [QSA]
RewriteRule ^$ index.php?init_mod_rewrite=1&ersandbroken=
[QSA]
</IfModule>
AuthName "pictures"
AuthType Basic
AuthUserFile C:/passwords
require valid-user fred joe
The lines I have added are the last 4. Is this correct? do I need the other
lines?
The "AuthName" is the name of the "realm" = directory?
The "AuthType" is the level of access or rights?
The "AuthUserFile" is where the "passwords" file is
stored. not sure on the \ or /, seem to recall /?
The last line says who can access the folder?
It goes on to say you need an entry in a file called
"Access.Conf", where is that stored, of can I use the file
"httpd.conf"?
Not really a surprise but I am confused....
Thanks all,
B.
PS, I sent this to you personally Mark, just noticed, sorry mate, should
have gone to the group.
Home |
Main Index |
Thread Index
|