[Spacewalk-list] Spacewalk Admin Website Confusion with mrepo on same server?

Paul Robert Marino prmarino1 at gmail.com
Fri Jun 15 18:30:24 UTC 2012


how about the
httpd.conf:DocumentRoot "/var/www/mrepo"
like the previous person said



On Fri, Jun 15, 2012 at 2:15 PM, Boyd, Robert
<Robert.Boyd at peoplefluent.com> wrote:
> Here's a bit more.
>
> >From /etc/httpd/conf/*:
>
> grep Document *
> httpd.conf:# DocumentRoot: The directory out of which you will serve your
> httpd.conf:DocumentRoot "/var/www/mrepo"
> httpd.conf:# This should be changed to whatever you set DocumentRoot to.
> httpd.conf:#ErrorDocument 500 "The server made a boo boo."
> httpd.conf:#ErrorDocument 404 /missing.html
> httpd.conf:#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
> httpd.conf:#ErrorDocument 402 http://www.example.com/subscription_info.html
> httpd.conf:#    ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
> httpd.conf:#    ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
> httpd.conf:#    ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
> httpd.conf:#    ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
> httpd.conf:#    ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
> httpd.conf:#    ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
> httpd.conf:#    ErrorDocument 410 /error/HTTP_GONE.html.var
> httpd.conf:#    ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
> httpd.conf:#    ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
> httpd.conf:#    ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
> httpd.conf:#    ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
> httpd.conf:#    ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
> httpd.conf:#    ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
> httpd.conf:#    ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
> httpd.conf:#    ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
> httpd.conf:#    ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
> httpd.conf:#    ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
> httpd.conf:#    DocumentRoot /www/docs/dummy-host.example.com
> [root] grep Directory *
> httpd.conf:<Directory />
> httpd.conf:</Directory>
> httpd.conf:<Directory "/var/www/mrepo">
> httpd.conf:</Directory>
> httpd.conf:#<Directory /home/*/public_html>
> httpd.conf:#</Directory>
> httpd.conf:# DirectoryIndex: sets the file that Apache will serve if a directory
> httpd.conf:DirectoryIndex index.html index.html.var
> httpd.conf:<Directory "/var/www/icons">
> httpd.conf:</Directory>
> httpd.conf:<Directory "/var/www/cgi-bin">
> httpd.conf:</Directory>
> httpd.conf:    <Directory "/var/www/error">
> httpd.conf:    </Directory>
>
> So -- what should I try "fixing?"
> Thanks!
>
> Robert
>
> -----Original Message-----
> From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Boyd, Robert
> Sent: Friday, June 15, 2012 1:59 PM
> To: spacewalk-list at redhat.com
> Subject: Re: [Spacewalk-list] Spacewalk Admin Website Confusion with mrepo on same server?
>
> from the /etc/httpd/conf.d/*
>
> DocumentRoot entries are as follows:
>
> grep DocumentRoot *
> mrepo.conf:#    DocumentRoot /var/www/mrepo
> ssl.conf:#DocumentRoot "/var/www/html"
> ssl.conf-swsave:#DocumentRoot "/var/www/html"
>
> Here are all the Directory entries:
>
> grep Directory *
> cobbler.conf:<Directory "/var/www/cobbler"> cobbler.conf:</Directory> cobbler.conf:<Directory "/var/www/cobbler/web/"> cobbler.conf:</Directory> manual.conf:<Directory "/var/www/manual"> manual.conf:</Directory> mrepo.conf:### Directory-based for the main server mrepo.conf:<Directory /var/www/mrepo> mrepo.conf:</Directory> perl.conf:#<Directory /var/www/perl> perl.conf:#</Directory> php.conf:DirectoryIndex index.php python.conf:<Directory "/var/www/manual/mod/mod_python"> python.conf:</Directory> python.conf:#<Directory /var/www/html> python.conf:#</Directory> python.conf:#<Directory /var/www/html> python.conf:#</Directory> python.conf:#<Directory /var/www/html> python.conf:#</Directory> ssl.conf:<Directory "/var/www/cgi-bin"> ssl.conf:</Directory> ssl.conf-swsave:<Directory "/var/www/cgi-bin"> ssl.conf-swsave:</Directory> zz-spacewalk-branding.conf:<Directory "/var/www/html/templates/"> zz-spacewalk-branding.conf:</Directory>
> zz-spacewalk-server.conf:<Directory "/var/www/html/*"> zz-spacewalk-server.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/*"> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory /var/www/html/network> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network/systems/groups">
> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network/systems/details">
> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network/systems/details/history">
> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network/systems/details/history/snapshots">
> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network/systems/details/kickstart">
> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network/systems/details/proxy">
> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network/systems/ssm">
> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network/systems/ssm/misc">
> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network/systems/ssm/groups">
> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network/systems/ssm/provisioning">
> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network">
> zz-spacewalk-www.conf:  DirectoryIndex index.pxt zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network/users"> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network/users/details">
> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network/users/details/contact_methods">
> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network/monitoring">
> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network/monitoring/scout">
> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network/components">
> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network/software/channels">
> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network/software/channels/manage">
> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network/software/channels/manage/packages">
> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network/software/channels/manage/packages/compare">
> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network/software/packages">
> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network/software/channels/manage/errata">
> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network/errata"> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/network/errata/manage">
> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/nav"> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/formletters"> zz-spacewalk-www.conf:</Directory>
> zz-spacewalk-www.conf:<Directory "/var/www/html/applications"> zz-spacewalk-www.conf:</Directory>
>
> -----Original Message-----
> From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of rhn-satellite at epperson.homelinux.net
> Sent: Friday, June 15, 2012 1:24 PM
> To: spacewalk-list at redhat.com
> Subject: Re: [Spacewalk-list] Spacewalk Admin Website Confusion with mrepo on same server?
>
> On Fri, June 15, 2012 13:03, Boyd, Robert wrote:
>> Someone before me installed mrepo and loaded several nice repos on the
>> server.   Now I'm installing PostGreSQL and spacewalk.   I carefully
>> followed the instructions and everything seemed to go just fine until I
>> started interacting with the admin website interface.   When I go there I
>>  get things like this:
>>
>
>> [Thu Jun 14 23:44:43 2012] [error] [client <client.ip>] File does not
>> exist: /var/www/mrepo/errors [ Of course these files don't exist under
>> mrepo - they're here: /var/www/html/img  and /var/www/html/errors
>>
>>
>> I'm trying to puzzle out why the spacewalk web pages are triggering a
>> reference to the mrepo subtree instead of the correct subtree where the
>> images are actually installed.   Does anyone have some suggestions how I
>> can puzzle out what is causing the spacewalk website to jump tracks
>> over to mrepo?
>>
>
> Looks like DocumentRoot is set to /var/www/mrepo instead of/var/www/html, probably by the mrepo install.
> Usual place is in /etc/httpd/conf/httpd.conf, but could be in a ../conf.d/*conf file.
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list