Yet abother cryptic NCSA error message

Yet abother cryptic NCSA error message

Post by Keith D. Tyl » Thu, 18 Apr 1996 04:00:00



I'm trying to set an .htaccess file for one of my directories, so that
the server will execute scripts in my own cgi-bin.

I don't have access to stash a ScriptAlias into the srm.conf file, but it
IS set up AllowOverride All.

I create an .htaccess file:

<Directory .>       ;ive also tried ~user/path, full path, ./, *, /*, */
Options All         ;for simplicity
</Directory>

Now the server sends me 500 Server error: Syntax error or override
violation in file (my .htaccess file)
Reason: Unknown method.

I have no clue as to a) what exactly "unknown method" means, and b) what
exactly it refers to.

I shouldn't have even bothered swimming through the mud at
hoohoo.ncsa.uiuc.edu, but I did, and nearly drowned as I expected.
As far as I can tell from those docs, I did it right. There's no error
documentation, so I can't glean much else from there.

Can someone tell me why this is happening, and which "method" is
"unknown" to the server?

Kdt

--

"I know it's hard to prognosticate his future at this stage, but if he's
going to remain 0.4 gram and six-sided for the rest of his life, I'd say
euthanasia is our best bet."               - Mark Leyner

 
 
 

Yet abother cryptic NCSA error message

Post by Kurt J Lan » Thu, 18 Apr 1996 04:00:00



Quote:>I'm trying to set an .htaccess file for one of my directories, so that
>the server will execute scripts in my own cgi-bin.
>I don't have access to stash a ScriptAlias into the srm.conf file, but it
>IS set up AllowOverride All.
>I create an .htaccess file:
><Directory .>       ;ive also tried ~user/path, full path, ./, *, /*, */
>Options All         ;for simplicity
></Directory>
>Now the server sends me 500 Server error: Syntax error or override
>violation in file (my .htaccess file)
>Reason: Unknown method.
>I have no clue as to a) what exactly "unknown method" means, and b) what
>exactly it refers to.
>I shouldn't have even bothered swimming through the mud at
>hoohoo.ncsa.uiuc.edu, but I did, and nearly drowned as I expected.
>As far as I can tell from those docs, I did it right. There's no error
>documentation, so I can't glean much else from there.
>Can someone tell me why this is happening, and which "method" is
>"unknown" to the server?
>Kdt
>--
>"I know it's hard to prognosticate his future at this stage, but if he's
>going to remain 0.4 gram and six-sided for the rest of his life, I'd say
>euthanasia is our best bet."               - Mark Leyner

The <Directory... "method" is not allowed in your .htaccess
file. Everything in that file refers to current directory,
so all you should need is the "Options All" line. Hope this
helps.
--
--


 
 
 

Yet abother cryptic NCSA error message

Post by Paul Sutt » Fri, 19 Apr 1996 04:00:00



: I'm trying to set an .htaccess file for one of my directories, so that
: the server will execute scripts in my own cgi-bin.

: I create an .htaccess file:
: <Directory .>       ;ive also tried ~user/path, full path, ./, *, /*, */
: Options All         ;for simplicity
: </Directory>

: Now the server sends me 500 Server error: Syntax error or override
: violation in file (my .htaccess file)
: Reason: Unknown method.

You probably shouldn't be using <Directory> or </Directory> in the
.htaccess file. The contents of the .htaccess file automatically
apply to the directory it is contained in.

Paul
--
Paul Sutton, Technical Director, UK Web --- http://www.ukweb.com/~paul/
Commercial Support for the Apache Web Server, see http://www.ukweb.com/
Latest news on Apache project: http://www.ukweb.com/support/apacheweek/