cannot access man 1 pages on hobbitmon website
list Gildas le Nadan
The files at url http://hobbitmon.sourceforge.net/docs/manpages/man1/ probably have the wrong permissions as they don't seem to be accessible. Cheers, Gildas
list Mike Rowell
Looks like it's the old cgi in filename bug, where the webserver thinks it's a cgi file and won't execute it. All the manpages are accessable here http://www.hswn.dk/hobbit/help/manpages/ Mike Rowell
▸
-----Original Message----- From: Gildas Le Nadan [mailto:user-231cb1cfd8a8@xymon.invalid] Sent: 29 August 2006 12:34 To: user-ae9b8668bcde@xymon.invalid Subject: [hobbit] cannot access man 1 pages on hobbitmon website The files at url http://hobbitmon.sourceforge.net/docs/manpages/man1/ probably have the wrong permissions as they don't seem to be accessible. Cheers, Gildas
This email has been scanned for all viruses by the MessageLabs service.
This email has been scanned for all viruses by the MessageLabs service.
list Henrik Størner
▸
On Tue, Aug 29, 2006 at 12:34:07PM +0100, Gildas Le Nadan wrote:
The files at url http://hobbitmon.sourceforge.net/docs/manpages/man1/ probably have the wrong permissions as they don't seem to be accessible.
Seems Sourceforge has the same problem with files called "x.cgi.y" as lots of other sites. In other words, it's not a file permission problem, but an Apache setup problem. You'll find them on-line at http://www.hswn.dk/hobbit/help/manpages/ Regards, Henrik
list Greg L Hubbard
Would you ever consider renaming the files so standard Apache servers can deliver them? GLH
▸
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Tuesday, August 29, 2006 6:40 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] cannot access man 1 pages on hobbitmon website
On Tue, Aug 29, 2006 at 12:34:07PM +0100, Gildas Le Nadan wrote:The files at url http://hobbitmon.sourceforge.net/docs/manpages/man1/ probably have the wrong permissions as they don't seem to be accessible.
Seems Sourceforge has the same problem with files called "x.cgi.y" as lots of other sites. In other words, it's not a file permission problem, but an Apache setup problem. You'll find them on-line at http://www.hswn.dk/hobbit/help/manpages/ Regards, Henrik
list Mike Arnold
▸
Henrik Stoerner wrote:
On Tue, Aug 29, 2006 at 12:34:07PM +0100, Gildas Le Nadan wrote:The files at url http://hobbitmon.sourceforge.net/docs/manpages/man1/ probably have the wrong permissions as they don't seem to be accessible.Seems Sourceforge has the same problem with files called "x.cgi.y" as lots of other sites. In other words, it's not a file permission problem, but an Apache setup problem. You'll find them on-line at http://www.hswn.dk/hobbit/help/manpages/
See hobbit-4.2.0/docs/hobbit-apacheconf.txt or
/etc/httpd/conf.d/hobbit-apache.conf in the RPM.
Add to the following section in your apache config:
<Directory "/path/to/hobbit/server/www">
RemoveHandler .cgi
--
-mike
list Greg L Hubbard
Hey Mike, do you think we can get Sourceforge to do that for us? ;) GLH
▸
-----Original Message-----
From: Mike Arnold [mailto:user-95d566fbb20b@xymon.invalid]
Sent: Tuesday, August 29, 2006 11:06 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] cannot access man 1 pages on hobbitmon website
Henrik Stoerner wrote:On Tue, Aug 29, 2006 at 12:34:07PM +0100, Gildas Le Nadan wrote:The files at url http://hobbitmon.sourceforge.net/docs/manpages/man1/ probably have the wrong permissions as they don't seem to be accessible.Seems Sourceforge has the same problem with files called "x.cgi.y" as lots of other sites. In other words, it's not a file permission problem, but an Apache setup problem. You'll find them on-line at http://www.hswn.dk/hobbit/help/manpages/
See hobbit-4.2.0/docs/hobbit-apacheconf.txt or
/etc/httpd/conf.d/hobbit-apache.conf in the RPM.
Add to the following section in your apache config:
<Directory "/path/to/hobbit/server/www">
RemoveHandler .cgi
--
-mike
list T.J. Yang
I like to suggest in the future version hobbit, the configure and makefile
should be design
to generate server,client and proxy binaries into different paths.
Example like following,
/opt/hobbit-server
bin
doc
man
etc
/opt/hobbit-client
bin
man
doc
/opt/hobbit-proxy
bin
man
doc
This will help software packagers to create packages for different OS
platforms.
T.J. Yang
list Mike Arnold
▸
Hubbard, Greg L wrote:
Hey Mike, do you think we can get Sourceforge to do that for us? ;)
Maybe we could ask Henrik to add a .htaccess file with "RemoveHandler .cgi" to the docs dir on SourceForge? -- -mike
list Buchan Milne
▸
On Tuesday 29 August 2006 20:17, T.J. Yang wrote:
I like to suggest in the future version hobbit, the configure and makefile
should be design
to generate server,client and proxy binaries into different paths.
Example like following,
/opt/hobbit-server
bin
doc
man
etc
/opt/hobbit-client
bin
man
doc
/opt/hobbit-proxy
bin
man
doc
This will help software packagers to create packages for different OS
platforms.I already separate hobbit and hobbit-client in the RPMS for Mandriva (which I rebuild for RHEL also). The only problem is that you may end up with duplicate binaries (eg bb). What I have done in this case is made hobbit depend on hobbit-client, so I can avoid duplicates. I'll see if I can get this done in the make file instead of the spec file. Regards, Buchan -- Buchan Milne ISP Systems Specialist B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
list Henrik Størner
▸
On Tue, Aug 29, 2006 at 06:49:52PM -0700, Mike Arnold wrote:
Hubbard, Greg L wrote:Hey Mike, do you think we can get Sourceforge to do that for us? ;)Maybe we could ask Henrik to add a .htaccess file with "RemoveHandler .cgi" to the docs dir on SourceForge?
Fantastic, I didn't know you could do that in a .htaccess file. Thanks Mike, the man-pages are working now. Regards, Henrik
list Henrik Størner
▸
On Tue, Aug 29, 2006 at 01:17:28PM -0500, T.J. Yang wrote:
I like to suggest in the future version hobbit, the configure and makefile should be design to generate server,client and proxy binaries into different paths.
[snip]
This will help software packagers to create packages for different OS platforms.
I think this is just the kind of work that software packagers should do. If you need an example, just look at the debian- and rpm-build scripts included with the Hobbit source - they generate separate server- and client-packages, and splitting out the proxy installation into a separate package would be easy. Regards, Henrik
list T.J. Yang
▸
From: Buchan Milne <user-9b139aff4dec@xymon.invalid> Reply-To: user-ae9b8668bcde@xymon.invalid To: user-ae9b8668bcde@xymon.invalid CC: "T.J. Yang" <user-8e841282cda5@xymon.invalid> Subject: Re: [hobbit] Feature request: server,client,proxy binaries seperation. Date: Wed, 30 Aug 2006 09:52:31 +0200 On Tuesday 29 August 2006 20:17, T.J. Yang wrote:I like to suggest in the future version hobbit, the configure and makefile should be design to generate server,client and proxy binaries into different paths. Example like following, /opt/hobbit-server bin doc man etc /opt/hobbit-client bin man doc /opt/hobbit-proxy bin man doc This will help software packagers to create packages for different OS platforms.I already separate hobbit and hobbit-client in the RPMS for Mandriva (which I rebuild for RHEL also). The only problem is that you may end up with duplicate binaries (eg bb). What I have done in this case is made hobbit depend on hobbit-client, so I can avoid duplicates. I'll see if I can get this done in the make file instead of the spec file.
I hope this paths serperation can be done in ./configure script(although not autoconf's ./configure) When "./configure --server" got specified, a makefile should be generated to compile and installed into a relative path for server binary only. the tight to "hobbit" as root (/opt/hobbit,/usr/hobbit) for server package very restrictive, and "./configure --server" also gernating client binaries at same time is confusing. Regards tj
Regards, Buchan -- Buchan Milne ISP Systems Specialist B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)
<< attach3 >>