Bluehost.com Web Hosting $6.95

No dialog for user/password with .htaccess on apache 1.3.22 for Windows

This is a discussion on No dialog for user/password with .htaccess on apache 1.3.22 for Windows within the Apache Web Server forums, part of the Web Server and Related Forums category; Hello I never receive the dialog for the username and password, what is wrong? This is my actual configuration. ***** httpd....


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-17-2006
Mike
 
Posts: n/a
Default No dialog for user/password with .htaccess on apache 1.3.22 for Windows

Hello

I never receive the dialog for the username and password, what is wrong?
This is my actual configuration.

***** httpd.conf *****
#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
# AllowOverride None
AllowOverride AuthConfig

***** .htaccess *****
AuthType Basic
AuthUserFile "d:/web/.htpasswd"
AuthName "Member Area"

<limit GET POST>
require valid-user
</limit>


***** .htpasswd *****
myname:mypassword

..htaccess is located in the directory d:/web/xyz/intern/.htpasswd and this
is also the protected directory.


  #2 (permalink)  
Old 08-17-2006
Mike
 
Posts: n/a
Default No dialog user/password with .htaccess on apache 1.3.22 for Windows


Hello

I never receive the dialog for the username and password, what is wrong?
This is my actual configuration.

***** httpd.conf *****
#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
# AllowOverride None
AllowOverride AuthConfig

***** .htaccess *****
AuthType Basic
AuthUserFile "d:/web/.htpasswd"
AuthName "Member Area"

<limit GET POST>
require valid-user
</limit>


***** .htpasswd *****
myname:mypassword

.htaccess is located in the directory d:/web/xyz/intern/ and this
is also the protected directory.

Thank you for your help.
Mike

Sorry the first message not correct.


  #3 (permalink)  
Old 08-17-2006
David
 
Posts: n/a
Default Re: No dialog user/password with .htaccess on apache 1.3.22 for Windows

Mike wrote:
> Hello
>
> I never receive the dialog for the username and password, what is wrong?
> This is my actual configuration.
>
> ***** httpd.conf *****
> #
> # This controls which options the .htaccess files in directories can
> # override. Can also be "All", or any combination of "Options", "FileInfo",
> # "AuthConfig", and "Limit"
> #
> # AllowOverride None
> AllowOverride AuthConfig
>
> ***** .htaccess *****
> AuthType Basic
> AuthUserFile "d:/web/.htpasswd"
> AuthName "Member Area"
>
> <limit GET POST>
> require valid-user
> </limit>
>
>
> ***** .htpasswd *****
> myname:mypassword
>
> .htaccess is located in the directory d:/web/xyz/intern/ and this
> is also the protected directory.
>
> Thank you for your help.
> Mike
>
> Sorry the first message not correct.
>
>

Did you restart the server after making changes to httpd.conf file. You
must restart the webserver after you make changes to the conf file for
the webserver to act upon those changes. ;;)

  #4 (permalink)  
Old 08-17-2006
Xicheng Jia
 
Posts: n/a
Default Re: No dialog user/password with .htaccess on apache 1.3.22 for Windows

Mike wrote:
> Hello
> I never receive the dialog for the username and password, what is wrong?
> This is my actual configuration.
>
> ***** httpd.conf *****
> #
> # This controls which options the .htaccess files in directories can
> # override. Can also be "All", or any combination of "Options", "FileInfo",
> # "AuthConfig", and "Limit"
> #
> # AllowOverride None
> AllowOverride AuthConfig


where did you put this line in httpd.conf??

<Directory "d:/web/xyz/intern/">
AllowOverride AuthConfig
</Directory>

> ***** .htaccess *****
> AuthType Basic
> AuthUserFile "d:/web/.htpasswd"
> AuthName "Member Area"
>
> <limit GET POST>
> require valid-user
> </limit>
>
> ***** .htpasswd *****
> myname:mypassword
>
> .htaccess is located in the directory d:/web/xyz/intern/ and this
> is also the protected directory.


what do you mean "protected" here? If you meant having also
Access-control other than the user credentials on this directory, you
may also want to look at "Satisfy" directive.

Xicheng

  #5 (permalink)  
Old 08-18-2006
Mike
 
Posts: n/a
Default Re: No dialog user/password with .htaccess on apache 1.3.22 for Windows

Hi Xicheng

> > Hello


> > I never receive the dialog for the username and password, what is


> > wrong? This is my actual configuration.


> >


> > ***** httpd.conf *****


> > #


> > # This controls which options the .htaccess files in directories can


> > # override. Can also be "All", or any combination of "Options",


> > "FileInfo", # "AuthConfig", and "Limit" #


> > # AllowOverride None


> > AllowOverride AuthConfig


>


> where did you put this line in httpd.conf??


---- Yes it is inside of httpd.conf.

---- But without success.

>


> <Directory "d:/web/xyz/intern/">


> AllowOverride AuthConfig


> </Directory>


>


> > ***** .htaccess *****


> > AuthType Basic


> > AuthUserFile "d:/web/.htpasswd"


> > AuthName "Member Area"


> >


> > <limit GET POST>


> > require valid-user


> > </limit>


> >


> > ***** .htpasswd *****


> > myname:mypassword


> >


> > .htaccess is located in the directory d:/web/xyz/intern/ and this


> > is also the protected directory.


>


> what do you mean "protected" here? If you meant having also


> Access-control other than the user credentials on this directory, you


> may also want to look at "Satisfy" directive.


>


---- Protectet means, that this directory should be protectetd,
d:/web/xyz/intern/ ==> www.xyz.com/intern

> Xicheng


>


Best Regards

Mike


  #6 (permalink)  
Old 08-18-2006
Mike
 
Posts: n/a
Default Re: No dialog user/password with .htaccess on apache 1.3.22 for Windows

Hi David

> Did you restart the server after making changes to httpd.conf file. You
> must restart the webserver after you make changes to the conf file for the
> webserver to act upon those changes. ;;)


---- Yes, I always restarted the Apache server after a modification inside
of httpd.conf

Thank you and Best Regards
Mike


  #7 (permalink)  
Old 08-19-2006
Mike
 
Posts: n/a
Default Re: No dialog user/password with .htaccess on apache 1.3.22 for Windows

Mike wrote:
Hello

> where did you put this line in httpd.conf??
>
> <Directory "d:/web/xyz/intern/">
> AllowOverride AuthConfig
> </Directory>


My meaning was that only the .htaccess file must be inside the directory
that should be password protectet.

Or is it necessary to have for each protected directory a additional entry
insysde of httpd.conf like the following?

#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "d:/web/xyz/intern/">
Options Indexes FollowSymLinks MultiViews
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>

Mike


  #8 (permalink)  
Old 08-19-2006
Mike
 
Posts: n/a
Default Re: No dialog user/password with .htaccess on apache 1.3.22 for Windows

Hi

I added the following entry to httpd.conf

# New entry for xyz
<Directory "C:/web/xyz/intern">
Options Indexes FollowSymLinks MultiViews
AllowOverride AuthConfig
</Directory>

Now it works
Thanks for your hint

Mike


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 11:57 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0