RE: [PHP] .htaccess and .htpasswd

2004-10-14 Thread Mulley, Nikhil
Can I know the platform on which you are running apache.

-Original Message-
From: Matthew Sims [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 14, 2004 1:57 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] .htaccess and .htpasswd


 # .htaccess
 AuthType Basic
 AuthName Restricted Area
 AuthUserFile /www/html/path/to/file/admin/.htpasswd
 require valid-user

 # .htpasswd
 Admin:ChqaxtiTH1e0E

 Both files are in same directory.

 Why it doesn't work?

 Can I use as AuthUserFile .htpasswd since they are in the same
 directory?

 I know its not smart but let's get this working and I'll move .htpasswd
 later to upper level :)



 -afan


Dude...do you know what mailing list you're on?

http://httpd.apache.org/lists.html

-- 
--Matthew Sims
--http://killermookie.org

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] .htaccess and .htpasswd

2004-10-14 Thread Afan Pasalic
Thanks but problem is already solved
:)
-afan
Mulley, Nikhil wrote:
Can I know the platform on which you are running apache.
-Original Message-
From: Matthew Sims [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 14, 2004 1:57 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] .htaccess and .htpasswd

# .htaccess
AuthType Basic
AuthName Restricted Area
AuthUserFile /www/html/path/to/file/admin/.htpasswd
require valid-user
# .htpasswd
Admin:ChqaxtiTH1e0E
Both files are in same directory.
Why it doesn't work?
Can I use as AuthUserFile .htpasswd since they are in the same
directory?
I know its not smart but let's get this working and I'll move .htpasswd
later to upper level :)

-afan

Dude...do you know what mailing list you're on?
http://httpd.apache.org/lists.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] .htaccess and .htpasswd

2004-10-13 Thread Matthew Sims
 # .htaccess
 AuthType Basic
 AuthName Restricted Area
 AuthUserFile /www/html/path/to/file/admin/.htpasswd
 require valid-user

 # .htpasswd
 Admin:ChqaxtiTH1e0E

 Both files are in same directory.

 Why it doesn't work?

 Can I use as AuthUserFile .htpasswd since they are in the same
 directory?

 I know its not smart but let's get this working and I'll move .htpasswd
 later to upper level :)



 -afan


Dude...do you know what mailing list you're on?

http://httpd.apache.org/lists.html

-- 
--Matthew Sims
--http://killermookie.org

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] .htaccess and .htpasswd

2004-10-13 Thread Matt M.
try an apache mailing list.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] .htaccess and .htpasswd

2004-10-13 Thread Afan Pasalic
Oops!
Sorry guy, sent to wrong place!
I apology.
:)
-afan
Matt M. wrote:
try an apache mailing list.
.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] .htaccess and .htpasswd

2004-10-13 Thread John Nichel
Afan Pasalic wrote:
# .htaccess
AuthType Basic
AuthName Restricted Area
AuthUserFile /www/html/path/to/file/admin/.htpasswd
require valid-user
# .htpasswd
Admin:ChqaxtiTH1e0E
Both files are in same directory.
Why it doesn't work?
Can I use as AuthUserFile .htpasswd since they are in the same directory?
I know its not smart but let's get this working and I'll move .htpasswd 
later to upper level :)
Did my filter throw an Apache mailing list email into my php folder?
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] .htaccess and .htpasswd

2004-10-13 Thread Afan Pasalic
Yes, I sent it on wrong place.
:)
Sorry.
-afan

Matthew Sims wrote:
# .htaccess
AuthType Basic
AuthName Restricted Area
AuthUserFile /www/html/path/to/file/admin/.htpasswd
require valid-user
# .htpasswd
Admin:ChqaxtiTH1e0E
Both files are in same directory.
Why it doesn't work?
Can I use as AuthUserFile .htpasswd since they are in the same
directory?
I know its not smart but let's get this working and I'll move .htpasswd
later to upper level :)

-afan

Dude...do you know what mailing list you're on?
http://httpd.apache.org/lists.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php