Koozali.org: home of the SME Server

Proxy Error - /server-manager

Marvin

Proxy Error - /server-manager
« on: April 27, 2002, 02:35:24 AM »
ok, I was playing around with the likes of /etc/httpd/conf/httpd.conf and /etc/php.ini and somewhere along the lines I messed something up... Whenever I attept to go to http://www.website.com/server-manager or /common or anything else covered (or redirected rather) through the proxy pass, I get the following error.

Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /server-manager.

Reason: Could not connect to remote machine: Connection refused

I don't know what 'upstream server' the message speaks about but I would assume that it's part of the server's management templates (which I didn't mess with). However.... /webmail works, even though it's also passed through the proxy where the other stuff is... seems to me that if one of the entries didn't work, then all shouldn't.

I just need to be pointed in the general direction of the answer... I would compare files on two machines to see where the screw up is, but I have but only one machine I can run it on...

TIA
Marvin

Jon Blakely

Re: Proxy Error - /server-manager
« Reply #1 on: April 27, 2002, 11:06:20 AM »
Marvin,

Assuming you havn't modified any of the httpd templates then you can issues these commands from console

/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf

/etc/e-smith/events/actions/restart-httpd-graceful

This will re-build your httpd.conf from the templates.

In future if you want to make changes to httpd.conf your best bet is to copy the template fragment you want to change to templates-custom and work on them there. Read

http://www.e-smith.org/docs/papers/templates.html

Jon