Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2018-10-20 04:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...














    Results (111 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!