Xymon Mailing List Archive search

URL Problem

7 messages in this thread

list Al Jeffcoat · Mon, 14 Feb 2005 21:35:44 -0500 ·
Hello All,

First, let me say, VERY nice job on Hobbit.  A lot more things work on
it on my AIX system out of the box.  Thank you for that :)

I have installed RC2 onto an AIX 5.2 system, running APACHE 2.0.52.  

Everything looks ok, but now that I am trying to add subpages, somehow I
have kludged the config so that it does the following.

Instead of http://hobbit/AIX/AIX.html, I get
http://hobbit/hobbit/AIX/AIX.html

Hobbit is the name of the virtual server that apache is defined to use.

I've been poking around for a little while on this, but thought I might
ask if someone had a pointer for me to look at.

TIA

Al Jeffcoat

This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message.  To reply to our email administrator directly, send an email to:  user-ecde3bbc361d@xymon.invalid .  If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
list Asif Iqbal · Mon, 14 Feb 2005 22:52:37 -0500 ·
quoted from Al Jeffcoat
On Mon, Feb 14, 2005 at 09:35:44PM, Jeffcoat, Al wrote:
Hello All,

First, let me say, VERY nice job on Hobbit.  A lot more things work on
it on my AIX system out of the box.  Thank you for that :)

I have installed RC2 onto an AIX 5.2 system, running APACHE 2.0.52.  
Everything looks ok, but now that I am trying to add subpages, somehow I
have kludged the config so that it does the following.

Instead of http://hobbit/AIX/AIX.html, I get
http://hobbit/hobbit/AIX/AIX.html

I think it is a configuration issue in the apache. By Default /hobbit/
is an Alias to the hobbit's www dir. I guess in your case you can make
the main server's doc root as hobbit's www dir. However that won't be a
good idea if you have other virtual webservers running from this same
system
quoted from Al Jeffcoat

Hobbit is the name of the virtual server that apache is defined to use.

I've been poking around for a little while on this, but thought I might
ask if someone had a pointer for me to look at.

TIA

Al Jeffcoat

This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message.  To reply to our email administrator directly, send an email to:  user-ecde3bbc361d@xymon.invalid .  If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu "...it said:
Install Windows XP or better...so I installed Solaris..."
list Peter Jakobs · Tue, 15 Feb 2005 08:25:51 +0100 ·
Return Receipt
                                                                              Your       [hobbit] URL Problem                                            document:                                                                                                                                             was        Peter Jakobs/MAIN/MC1                                           received                                                                   by:                                                                                                                                                   at:        02/15/2005 08:27:05
list Al Jeffcoat · Tue, 15 Feb 2005 09:52:31 -0500 ·
I agree that it is most likely an apache problem, but I do not know
where.  Here is the virtual host container for hobbit from my apache
config.  Maybe someone with more experience/knowledge might be able to
pinpoint it.  I'll continue to RTFM and google :)

I did not use the Alias that was provided by hobbit's apache-config
example.  I instead used the DocumentRoot definition for this vhost.  Is
this not a good idea?  The only other "websites" on this server are
internal for my team only, documentation and such.  Nothing is being
presented to the web from this server.

Thanks

--- Snip ---
<VirtualHost *:80>
    ServerAdmin e-mail address
    DocumentRoot "/hobbit/server/www/"
    ServerName hobbit
<Directory "/hobbit/server/www/">
    Options Indexes FollowSymLinks Includes MultiViews
    Order allow,deny
    Allow from all
</Directory>

ScriptAlias /hobbit-cgi/ "/hobbit/cgi-bin/"
<Directory "/hobbit/cgi-bin">
    AllowOverride None
    Options ExecCGI Includes
    Order allow,deny
    Allow from all
</Directory>

Al Jeffcoat


---> Previously
quoted from Asif Iqbal

I think it is a configuration issue in the apache. By Default /hobbit/
is an Alias to the hobbit's www dir. I guess in your case you can make
the main server's doc root as hobbit's www dir. However that won't be a
good idea if you have other virtual webservers running from this same
system


This e-mail message and any attached files are confidential and are intended solely for the use of the addressee(s) named above. If you are not the intended recipient, any review, use, or distribution of this e-mail message and any attached files is strictly prohibited. This communication may contain material protected by Federal privacy regulations, attorney-client work product, or other privileges. If you have received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message.  To reply to our email administrator directly, send an email to:  user-ecde3bbc361d@xymon.invalid .  If this e-mail message concerns a contract matter, be advised that no employee or agent is authorized to conclude any binding agreement on behalf of Orlando Regional Healthcare by e-mail without express written confirmation by an officer of the corporation. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Orlando Regional Healthcare.
list Martin Colello · Tue, 15 Feb 2005 07:59:42 -0700 ·
Return Receipt
                                                                              Your       RE: [hobbit] URL Problem                                        document:                                                                                                                                             was        Martin Colello/CHAZ/AAWW                                        received                                                                   by:                                                                                                                                                   at:        02/15/2005 07:59:42 AM
list Henrik Størner · Tue, 15 Feb 2005 23:47:46 +0100 ·
quoted from Al Jeffcoat
On Tue, Feb 15, 2005 at 09:52:31AM -0500, Jeffcoat, Al wrote:
I agree that it is most likely an apache problem, but I do not know
where.
Your apache config looks OK. Most likely it's a configuration issue in
your server/etc/hobbitserver.cfg file. Could you post these settings
from your configuration:

Near the top of the file:

BBSERVERWWWNAME="some.host.name"        # The name used for this hosts' webserver
BBSERVERWWWURL="/hobbit"                # The top URL for the Hobbit webpages
BBSERVERCGIURL="/hobbit-cgi"            # The URL for the Hobbit CGI scripts.

and further down:

BBWEBHOST="http://$BBSERVERWWWNAME";             # Just the host part of the URL - http://www.foo.com
BBWEBHOSTURL="$BBWEBHOST$BBSERVERWWWURL"        # Prefix for all static Hobbit pages - http://www.foo.com/bb
BBWEBHTMLLOGS="$BBWEBHOSTURL/html"              # Prefix for the Hobbit HTML logs (only if BBLOGSTATUS=STATIC)
BBWEB="$BBSERVERWWWURL"                         # Hobbit URL prefix without the host part


Regards,
Henrik
list Peter Jakobs · Wed, 16 Feb 2005 08:24:32 +0100 ·
Return Receipt
                                                                              Your       RE: [hobbit] URL Problem                                        document:                                                                                                                                             was        Peter Jakobs/MAIN/MC1                                           received                                                                   by:                                                                                                                                                   at:        02/16/2005 08:23:51