Re: Help with in httpd.conf
by James G Smith other posts by this author
Dec 31 2000 3:58PM messages near this date
Help with in httpd.conf
|
Re: Document Contains no data
"Scott Alexander" <scott@[...].edu> wrote:
> Is the syntax still wrong or does anyone have any ideas about this?
I am thinking it is. Try the following correction.
> <Perl>
> #!perl
>
> $Location {"/users/supervisor"} = {
> DAV => 'On',
> AllowOverride => 'None',
> Options => 'None',
> AuthName => '"Test"',
> AuthType => 'Basic',
> Auth_MySQL_Password_Table => 'users',
> Auth_MySQL_Username_Field => 'user',
> Auth_MySQL_Password_Field => 'passwd',
> Auth_MySQL_Encryption_Types => 'Plaintext',
> Auth_MYSQL => 'on',
Limit => {
'GET POST' => {
require => 'user supervisor',
},
},
> } ;
> __END__
> </Perl>
> Limit => {
> METHODS => `GET POST`,
> require => `user supervisor`,
> },
Also, you have backticks (`) in the above instead of single-
quotes ('). This will result in Perl trying to execute what is
enclosed. Probably not what you wanted.
------------------------------------+-----------------------------------------
James Smith - jgsmith@[...].com | http://www.jamesmith.com/
jsmith@[...].org | http://sourcegarden.org/
jgsmith@[...].edu | http://cis.tamu.edu/systems/opensystems/
------------------------------------+------------------------------------------
Thread:
Scott Alexander
James G Smith
|