Koozali.org: home of the SME Server

Proxy Pass GUI

Offline Gizzmo

  • **
  • 22
  • +0/-0
Proxy Pass GUI
« on: June 23, 2010, 11:12:55 PM »
I got spoiled in the past and recently had a server completely fail, of course i had a backup via DAR, everything seems to be restored but not my ProxyPass GUI in Server-Manager.....is there a way to get that back?

Thanks!

Offline girkers

  • *
  • 296
  • +0/-0
    • gk computer services
Re: Proxy Pass GUI
« Reply #1 on: June 23, 2010, 11:52:36 PM »
I have had a couple of server fails where I have had to resort to a backup, one thing you have to remember is the built in backup does not backup custom stuff. As far as I understand the db and settings etc are stored in the backup but not the contrib itself, that means you need to reinstall the contrib.

In my situation I use Zarafa and recently when my server failed, I did the rebuild and restore and then install Zarafa and everything was as it should be. One recommendation I have read is to have an ibay with all your extra packages thus you have a ready point of installation on restoring your system, plus it has the current versions you are using.

Offline Gizzmo

  • **
  • 22
  • +0/-0
Re: Proxy Pass GUI
« Reply #2 on: June 24, 2010, 12:22:25 AM »
FOund it, dunno if the wiki should referance for us lazy people that this works:

http://forums.contribs.org/index.php?topic=37693.0

Using the smeserver-proxypass-0.0.3-1.noarch.rpm contrib but then:


That rpm has a bug that calls up an incorrect db location
To fix it do
pico -w /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts/50ProxyPass

Change the line that says:
tie my %domains, 'esmith::config', '/home/e-smith/domains';

to read
tie my %domains, 'esmith::config', '/home/e-smith/db/domains';


Brought my ProxyPass Panel back to the Server-manage, need to test further to confirm.....

And boy am i glad i had DAR working, the machine was only down for less than 24hrs (only because i had a day job and couldnt work on it)

Put together a VMware image and install 7.5, pointed to my workstation backup and let the restore begin...websites were back up and running....might just keep it in VMware forever. (was just the quickest solution i had to get back up)

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Proxy Pass GUI
« Reply #3 on: June 24, 2010, 08:38:33 AM »
You should file a bug in the bugtracker in the SME Contribs category.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Proxy Pass GUI
« Reply #4 on: June 24, 2010, 10:12:32 AM »
Gizzmo

Quote
Using the smeserver-proxypass-0.0.3-1.noarch.rpm contrib but then:

That is a very old rpm developed for sme6.x and buggy for sme7.x.
Proxy pass functionality is now in sme7.x since a long time ago, and can be configured with db commands, see
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Proxy_Pass

You do not need that rpm any more.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Gizzmo

  • **
  • 22
  • +0/-0
Re: Proxy Pass GUI
« Reply #5 on: June 24, 2010, 06:09:45 PM »
Gizzmo

That is a very old rpm developed for sme6.x and buggy for sme7.x.
Proxy pass functionality is now in sme7.x since a long time ago, and can be configured with db commands, see
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Proxy_Pass

You do not need that rpm any more.

Mary

I knew this part, I just wanted the GUI part back because its what I've been using for years. I did use the command line till i got this working again. I just like the idea of having this option in server-manager without having to ssh or enabling ssh on machines at clients.

Is that RPM trying to add proxypass or just linking it to a gui....i assume it could be modified to just give users a interface to the command line without giving them SSH access....of course i would know the first thing about building a RPM :-/

Thanks All!
« Last Edit: June 24, 2010, 06:12:58 PM by Gizzmo »

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Proxy Pass GUI
« Reply #6 on: June 25, 2010, 01:33:40 AM »
Gizzmo

Quote
Is that RPM trying to add proxypass or just linking it to a gui....i assume it could be modified to just give users a interface to the command line without giving them SSH access....

You have the rpm, you can look inside it to see what it does, use mc for easiness if you are inexperienced.
You can also look at the current sme server code (templates) to see what they do to implement the proxy pass settings.
It's an old rpm so I don't want to waste time investigating it.

The theory is that you could relatively easily develop a server manager panel to configure the db settings that are now implemented in sme7.x
That would be a safer way to go than what you seem to be suggesting above.
By the way the resultant proxypass entry does appear in the server manager domains (I think) panel, after setting it with the db commands, but it is not editable from server manager.

Is there really that much need to have end user administrators configuring proxy pass entries ?
IMHO it would be a very infrequent if not one off thing to do, so that's why the developers just left it as db commands rather than going all the way with a server manager panel.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.