Received: (qmail 10594 invoked by uid 2012); 3 Aug 1998 13:37:40 -0000 Message-Id: <19980803133740.10593.qmail@hyperreal.org> Date: 3 Aug 1998 13:37:40 -0000 From: kenford Reply-To: kenford@infomak.com To: apbugs@hyperreal.org Subject: access problem X-Send-Pr-Version: 3.2 >Number: 2769 >Category: mod_access >Synopsis: access problem >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Class: support >Submitter-Id: apache >Arrival-Date: Mon Aug 3 06:40:00 PDT 1998 >Last-Modified: Tue Aug 4 10:40:00 PDT 1998 >Originator: kenford@infomak.com >Organization: >Release: 1.3.1 >Environment: linux 2.0.33 >Description: I upgrade to apache 1.3.1 from 1.2 now my directory access does not work any more. access.conf ============= AllowOverride All Options FollowSymlinks ExecCGI Indexes .htaccess ========== AuthUserFile /usr/local/etc/httpd/htdocs/data/dump/.htpasswd AuthGroupFile /usr/local/etc/httpd/htdocs/data/dump/.htgroup AuthName DataSource AuthType Basic require group ACC_User # require valid-user .htpasswd ========== ken:jfSrgOeO0mAOw .htgroup ========== ACC_User:admin >How-To-Repeat: >Fix: >Audit-Trail: State-Changed-From-To: open-feedback State-Changed-By: marc State-Changed-When: Mon Aug 3 10:54:32 PDT 1998 State-Changed-Why: What do you mean it "doesn't work"? Is access allowed without authentication? Is access always rejected? If so, with what message? Does anything show up in the error log. "doesn't work" is almost never a useful description of the problem. State-Changed-From-To: feedback-closed State-Changed-By: marc State-Changed-When: Mon Aug 3 23:36:36 PDT 1998 State-Changed-Why: User config error. From: Marc Slemko To: Apache bugs database Cc: Subject: Re: mod_access/2769: access problem (fwd) Date: Mon, 3 Aug 1998 23:32:31 -0700 (PDT) ---------- Forwarded message ---------- Date: Tue, 04 Aug 1998 01:07:55 -0400 From: kenford@infomak.com To: marc@hyperreal.org Subject: Re: mod_access/2769: access problem At 05:54 PM 8/3/98 -0000, you wrote: >Synopsis: access problem > >State-Changed-From-To: open-feedback >State-Changed-By: marc >State-Changed-When: Mon Aug 3 10:54:32 PDT 1998 >State-Changed-Why: >What do you mean it "doesn't work"? > >Is access allowed without authentication? > >Is access always rejected? If so, with what message? > >Does anything show up in the error log. > >"doesn't work" is almost never a useful description of the >problem. > > I forget to change the path in the .htaccess file to the new apache path "/usr/local/apache" so now I'm able to login but no I get a browser error ------------- Method Not Allowed The requested method POST is not allowed for the URL usr/local/apache/htdocs/data/main.cgi. ------------------ OLD .htaccess ========== AuthUserFile /usr/local/etc/httpd/htdocs/data/dump/.htpasswd AuthGroupFile /usr/local/etc/httpd/htdocs/data/dump/.htgroup AuthName DataSource AuthType Basic From: Marc Slemko To: kenford@infomak.com Cc: Apache bugs database Subject: Re: mod_access/2769: access problem Date: Mon, 3 Aug 1998 23:34:05 -0700 (PDT) On Tue, 4 Aug 1998 kenford@infomak.com wrote: > At 05:54 PM 8/3/98 -0000, you wrote: > >Synopsis: access problem > > > >State-Changed-From-To: open-feedback > >State-Changed-By: marc > >State-Changed-When: Mon Aug 3 10:54:32 PDT 1998 > >State-Changed-Why: > >What do you mean it "doesn't work"? > > > >Is access allowed without authentication? > > > >Is access always rejected? If so, with what message? > > > >Does anything show up in the error log. > > > >"doesn't work" is almost never a useful description of the > >problem. > > > > > > I forget to change the path in the .htaccess file to > the new apache path "/usr/local/apache" so now I'm > able to login but no I get a browser error > > > ------------- > Method Not Allowed > > The requested method POST is not allowed for the URL > usr/local/apache/htdocs/data/main.cgi. This is completely a configuration error and it means that you don't have the file setup to be trated as a CGI. As described in the docs, you need either a ScriptAlias or need to setup the directory with Options ExecCGI, AddHandler, etc. to execute files with certain extensions. From: Marc Slemko To: apbugs@apache.org Cc: Subject: Re: mod_access/2769: access problem (fwd) Date: Tue, 4 Aug 1998 10:27:41 -0700 (PDT) ---------- Forwarded message ---------- Date: Tue, 04 Aug 1998 08:46:20 -0400 From: kenford@infomak.com To: Marc Slemko Subject: Re: mod_access/2769: access problem At 11:34 PM 8/3/98 -0700, you wrote: >On Tue, 4 Aug 1998 kenford@infomak.com wrote: > >> At 05:54 PM 8/3/98 -0000, you wrote: >> >Synopsis: access problem >> > >> >State-Changed-From-To: open-feedback >> >State-Changed-By: marc >> >State-Changed-When: Mon Aug 3 10:54:32 PDT 1998 >> >State-Changed-Why: >> >What do you mean it "doesn't work"? >> > >> >Is access allowed without authentication? >> > >> >Is access always rejected? If so, with what message? >> > >> >Does anything show up in the error log. >> > >> >"doesn't work" is almost never a useful description of the >> >problem. >> > >> > >> >> I forget to change the path in the .htaccess file to >> the new apache path "/usr/local/apache" so now I'm >> able to login but no I get a browser error >> >> >> ------------- >> Method Not Allowed >> >> The requested method POST is not allowed for the URL >> usr/local/apache/htdocs/data/main.cgi. > >This is completely a configuration error and it means that you don't have >the file setup to be trated as a CGI. As described in the docs, >you need either a ScriptAlias or need to setup the directory >with Options ExecCGI, AddHandler, etc. to execute files with >certain extensions. > > --------- I already have it setup in the "access.conf" file. AllowOverride All Options FollowSymlinks ExecCGI Indexes From: Marc Slemko To: kenford@infomak.com Cc: apbugs@apache.org Subject: Re: mod_access/2769: access problem Date: Tue, 4 Aug 1998 10:30:15 -0700 (PDT) On Tue, 4 Aug 1998 kenford@infomak.com wrote: > >> Method Not Allowed > >> > >> The requested method POST is not allowed for the URL > >> usr/local/apache/htdocs/data/main.cgi. > > > >This is completely a configuration error and it means that you don't have > >the file setup to be trated as a CGI. As described in the docs, > >you need either a ScriptAlias or need to setup the directory > >with Options ExecCGI, AddHandler, etc. to execute files with > >certain extensions. > > > > > > --------- > I already have it setup in the "access.conf" file. > > > AllowOverride All > Options FollowSymlinks ExecCGI Indexes > > That is not sufficient. As I said, you also need to tell it to run .cgi files as CGIs. See http://www.apache.org/docs/misc/FAQ#CGIoutsideScriptAlias for details. >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]