Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Re: .htaccess and $ENV{

by mischief (Hermit)
on Aug 09, 2001 at 22:16 UTC ( #103540=note: print w/replies, xml ) Need Help??


in reply to Re: Re: .htaccess and $ENV{
in thread .htaccess and $ENV{

As echo says, you shouldn't use the Limit directives in this case - it really means "only limit the http request methods...".

Just to clarify, all you have to do is turn this:

<Limit GET POST> require group Xdwp </LIMIT>

into this:

require valid-user

The first example means that to log in successfully, the username submitted has to match the password of that user (obviously), and also be in the group "Xdwp". In the second example, all that has to happen is that the username has to be in the password file.

This has absolutely nothing to do with perl though, so I'd suggest having a look at <a href=http://httpd.apache.org/docs/mod/core.html#requirethe docs on httpd.apache.org.

Replies are listed 'Best First'.
Re: Re: Re: Re: .htaccess and $ENV{
by sierrathedog04 (Hermit) on Aug 10, 2001 at 02:36 UTC
    Thank you echo and mischief for pointing out that I ought not to be using Limit directives. I will fix my .htaccess file.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://103540]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2018-08-18 17:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (185 votes). Check out past polls.

    Notices?