Koozali.org: home of the SME Server

"ProxyPass URL must be absolute!" website meltdown

Offline LANMonkey

  • ****
  • 350
  • +0/-0
    • Database Collection of Transcripts for the ICTY
"ProxyPass URL must be absolute!" website meltdown
« on: December 23, 2012, 08:57:37 PM »
I can no longer reach any of the websites, including webmail and server-manager.  The terminal display shows a constantly repeated message,

Code: [Select]
Syntax error on line 1087 of /etc/httpd/conf/httpd.conf:
ProxyPass URL must be absolute!

I can't log in at the terminal, but I can log on with PuTTY.

The only thing I can think of is that one of my ProxyPass targets is the Windows Home Server, which has the URL, symbiota.homeserver.com.

What should I do?  I'm sure I've seen this problem before here, but a search has not pulled up any threads.


Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: "ProxyPass URL must be absolute!" website meltdown
« Reply #1 on: December 23, 2012, 09:13:43 PM »
well, first of all rollback your changes and tell us the exact syntax you used a

Offline LANMonkey

  • ****
  • 350
  • +0/-0
    • Database Collection of Transcripts for the ICTY
Re: "ProxyPass URL must be absolute!" website meltdown
« Reply #2 on: December 23, 2012, 09:20:10 PM »
well, first of all rollback your changes and tell us the exact syntax you used a

I'm sorry, but I do not understand the procedure, "rollback changes" nor have I applied any syntax anywhere in SME.

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: "ProxyPass URL must be absolute!" website meltdown
« Reply #3 on: December 23, 2012, 09:24:34 PM »
I'm sorry, but I do not understand the procedure, "rollback changes" nor have I applied any syntax anywhere in SME.

well..
post the output of
Code: [Select]
db domains show | grep -i proxy
thank you

Offline LANMonkey

  • ****
  • 350
  • +0/-0
    • Database Collection of Transcripts for the ICTY
Re: "ProxyPass URL must be absolute!" website meltdown
« Reply #4 on: December 23, 2012, 09:29:16 PM »
well..
post the output of
Code: [Select]
db domains show | grep -i proxy
thank you

Here it is,

Code: [Select]
[root@xxxxx ~]# db domains show | grep -i proxy
    ProxyPassTarget=192.168.0.247
    TemplatePath=ProxyPassVirtualHosts
[root@xxxxx ~]#

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: "ProxyPass URL must be absolute!" website meltdown
« Reply #5 on: December 23, 2012, 09:36:01 PM »
then you are using ProxyPass

read here: http://wiki.contribs.org/SME_Server:Documentation:ProxyPass

you did something wrong.. you'd find the domain where you are using proxypass and revert/delete the settings
you should also take a look in bash history, it can help you (and us) to understand what's going wrong

Offline LANMonkey

  • ****
  • 350
  • +0/-0
    • Database Collection of Transcripts for the ICTY
Re: "ProxyPass URL must be absolute!" website meltdown
« Reply #6 on: December 23, 2012, 09:43:36 PM »

you did something wrong.. you'd find the domain where you are using proxypass and revert/delete the settings
you should also take a look in bash history, it can help you (and us) to understand what's going wrong

OK, I'll uninstall ProxyPass, reinstall it and that should do the trick?  I'll post the details of what I am trying to do with ProxyPass.

If you explain how to look up "bash history", I'll do that and post the results.  Maybe I should to this first.  Let me know what to do.

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: "ProxyPass URL must be absolute!" website meltdown
« Reply #7 on: December 23, 2012, 09:49:01 PM »
there's nothing to uninstall/reinstall

Code: [Select]
history

from command line

Code: [Select]
man history

will help you

Offline LANMonkey

  • ****
  • 350
  • +0/-0
    • Database Collection of Transcripts for the ICTY
Re: "ProxyPass URL must be absolute!" website meltdown
« Reply #8 on: December 23, 2012, 09:58:27 PM »
OK, here is a report from "history",

Code: [Select]
....
  980  /sbin/e-smith/expand-template etc/crontab
  981  more /etc/crontab
  982  date
  983  date
  984  /sbin/e-smith/expand-template etc/crontab
  985  more /etc/crontab
  986  db domains set symbiota.homeserver.com
  987  db domains setprop symbiota.homeserver.com Nameservers internet
  988  db domains setprop symbiota.homeserver.com ProxyPassTarget 192.168.0.247
  989  db domains set symbiota.homeserver.com domain
  990  db domains setprop symbiota.homeserver.com Nameservers internet
  991  db domains setprop symbiota.homeserver.com ProxyPassTarget 192.168.0.247
  992  db domains setprop symbiota.homeserver.com TemplatePath ProxyPassVirtualHosts
  993  signal-event domain-create symbiota.homeserver.com
  994  ping symbiota.homeserver.com
  995  more /etc/crontab
  996  more /etc/crontab
  997  exit
  998  exot
  999  exot
 1000  exit
 1001  db domains show | grep -i proxy
 1002  history
[root@finch ~]#

Apparently, this was one of the last things I was up to.  But it was done a month ago at least.

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: "ProxyPass URL must be absolute!" website meltdown
« Reply #9 on: December 23, 2012, 10:07:47 PM »
what's the output of
Code: [Select]
db domains show symbiota.homeserver.com
?

Offline LANMonkey

  • ****
  • 350
  • +0/-0
    • Database Collection of Transcripts for the ICTY
Re: "ProxyPass URL must be absolute!" website meltdown
« Reply #10 on: December 23, 2012, 10:31:20 PM »
Here is what I get:

Code: [Select]
[root@xxxxx ~]# db domains show symbiota.homeserver.com
symbiota.homeserver.com=domain
    Nameservers=internet
    ProxyPassTarget=192.168.0.247
    TemplatePath=ProxyPassVirtualHosts
[root@xxxxx ~]#

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: "ProxyPass URL must be absolute!" website meltdown
« Reply #11 on: December 23, 2012, 10:50:05 PM »
LANMonkey
 
 
Quote
989  db domains set symbiota.homeserver.com domain
  990  db domains setprop symbiota.homeserver.com Nameservers internet
  991  db domains setprop symbiota.homeserver.com ProxyPassTarget 192.168.0.247
  992  db domains setprop symbiota.homeserver.com TemplatePath ProxyPassVirtualHosts
  993  signal-event domain-create symbiota.homeserver.com

You did not follow the instructions correctly. Read what you entered, and compare it with what the wiki says to enter
Do this to fix it (including the http: part & the trailing slash):

db domains setprop symbiota.homeserver.com ProxyPassTarget http://192.168.0.247/
(the above all on one line)
then do
signal-event domain-create symbiota.homeserver.com

Please read all instructions ACCURATELY & CAREFULLY in future!
« Last Edit: December 23, 2012, 10:52:28 PM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline LANMonkey

  • ****
  • 350
  • +0/-0
    • Database Collection of Transcripts for the ICTY
Re: "ProxyPass URL must be absolute!" website meltdown
« Reply #12 on: December 23, 2012, 11:07:23 PM »
That did it!

The loop stopped in my terminal.  Can I assume that a reboot is not necessary?  All the websites are back up, including my WHS site.

As far as I can tell, Problem Solved.

Thank you very much.