Xymon Mailing List Archive search

Dumb Apache question

5 messages in this thread

list Greg L Hubbard · Thu, 17 Aug 2006 10:43:19 -0500 ·
Shire folk:

I just upgraded to v4.2 on a Solaris server.  I am using the built-in
Apache (with Solaris 8).

When I try to access any of the Hobbit man pages that refer to a CGI
(and are named <something>.cgi.<n>.html) I get an "Access Forbidden"
error.  I looked in the Apache error log and saw this:

Options ExecCGI is off in this directory:
/opt2/hobbit/server/www/help/manpages/man1/hobbitsvc.cgi.1.html

So Apache is getting confused by the file name?  I've tried a few things
to try to convince Apache that this is a text file and not a CGI, but to
no avail.  Anyone else ever run into this and have a solution?  One
obvious thing to try would be to add ExecCGI to these directories, but
that doesn't feel right to me...

GLH
list Frédéric Mangeant · Thu, 17 Aug 2006 17:51:00 +0200 ·
quoted from Greg L Hubbard
Le 17/08/2006 17:43, Hubbard, Greg L a écrit :
Shire folk:

I just upgraded to v4.2 on a Solaris server.  I am using the built-in Apache (with Solaris 8).

When I try to access any of the Hobbit man pages that refer to a CGI (and are named <something>.cgi.<n>.html) I get an "Access Forbidden" error.  I looked in the Apache error log and saw this:

Options ExecCGI is off in this directory: /opt2/hobbit/server/www/help/manpages/man1/hobbitsvc.cgi.1.html

So Apache is getting confused by the file name?  I've tried a few things to try to convince Apache that this is a text file and not a CGI, but to no avail.  Anyone else ever run into this and have a solution?  One obvious thing to try would be to add ExecCGI to these directories, but that doesn't feel right to me...
Hi Greg

I had the same problem some times ago...

You can see this thread : http://www.hswn.dk/hobbiton/2005/02/msg00271.html

-- 

Frédéric Mangeant

Steria EDC Sophia-Antipolis
list Henrik Størner · Thu, 17 Aug 2006 17:51:21 +0200 ·
quoted from Frédéric Mangeant
On Thu, Aug 17, 2006 at 10:43:19AM -0500, Hubbard, Greg L wrote:
When I try to access any of the Hobbit man pages that refer to a CGI
(and are named <something>.cgi.<n>.html) I get an "Access Forbidden"
error.  I looked in the Apache error log and saw this:

Options ExecCGI is off in this directory:
/opt2/hobbit/server/www/help/manpages/man1/hobbitsvc.cgi.1.html
I don't want to sound like an old "RTFM", but:

http://www.hswn.dk/hobbit/help/hobbit-tips.html#mancgi


Regards,
Henrik
list John Payne · Thu, 17 Aug 2006 11:54:20 -0400 ·
On Aug 17, 2006, at 11:43 AM, Hubbard, Greg L wrote:
Shire folk:

I just upgraded to v4.2 on a Solaris server.  I am using the built- in Apache (with Solaris 8).

When I try to access any of the Hobbit man pages that refer to a  CGI (and are named <something>.cgi.<n>.html) I get an "Access  Forbidden" error.  I looked in the Apache error log and saw this:

Options ExecCGI is off in this directory: /opt2/hobbit/server/www/ help/manpages/man1/hobbitsvc.cgi.1.html

So Apache is getting confused by the file name?  I've tried a few  things to try to convince Apache that this is a text file and not a  CGI, but to no avail.  Anyone else ever run into this and have a  solution?  One obvious thing to try would be to add ExecCGI to  these directories, but that doesn't feel right to me...
Change AddHandler cgi-script .cgi  to AddHandler cgi-script .cgi$
list Greg L Hubbard · Thu, 17 Aug 2006 10:57:18 -0500 ·
Yep, missed that one.  I thought I came up with that on my own and tried
it, but perhaps I dreamed all that.  Apache has its own learning curve,
which I have been avoiding.

GLH 
quoted from John Payne

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Thursday, August 17, 2006 10:51 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Dumb Apache question

On Thu, Aug 17, 2006 at 10:43:19AM -0500, Hubbard, Greg L wrote:
When I try to access any of the Hobbit man pages that refer to a CGI 
(and are named <something>.cgi.<n>.html) I get an "Access Forbidden"
error.  I looked in the Apache error log and saw this:

Options ExecCGI is off in this directory:
/opt2/hobbit/server/www/help/manpages/man1/hobbitsvc.cgi.1.html
I don't want to sound like an old "RTFM", but:

http://www.hswn.dk/hobbit/help/hobbit-tips.html#mancgi


Regards,
Henrik