Author Topic: Proxypass query  (Read 2451 times)

d31b0y

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Proxypass query
« on: May 20, 2010, 12:33:07 pm »
Hi all,

I am trying to setup a proxypass entry in the eBox apache module, but I'm not sure where I need to put the entry.

EG - I have proxypass entries setup currently setup for my regular apache install and I put the information into the /etc/apache2/sites-enabled/000-default that looks like this ...

Code: [Select]
ProxyPass /shellinabox/ http://localhost:4200/
ProxyPassReverse /shellinabox/ http://localhost:4200/

While the above is a bit of a workaround, it's completely unencrypted so I am wary using it.

I want to apply this to port 443 but since ebox apache module is currently listening on 443 I can't use my normal apache config.

For arguments sake, lets say that I only have access to ports 443 and 80. I have tried editing /var/lib/ebox/conf/apache2.conf but on once you restart the ebox apache service, this file gets rewritten.

So, anybody have any ideas?

d31b0y

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Proxypass query
« Reply #1 on: May 21, 2010, 10:49:42 am »
Ok, so I edited /usr/share/ebox/stubs/apache.mas with the following.

(include both modules needed (http_proxy & proxy))

ProxyPass /shellinabox/ https://localhost:4200/
ProxyPassReverse /shellinabox/ https://localhost:4200/

but it still wouldn't work. It just kept saying page cannot be displayed. Going to https://localhost:4200/ on the local machine works fine.

My next test is going to be:

Setup new listening port for ebox (8443).
Create vhost (443) on default apache site.
Setup proxypass / proxypassreverse entries for ebox & shellinabox.

So I gues my question now is, will eBox work with a proxy redirect? I'll find out this evening when I get home, but if anyone has any experience with it, I'd love to get your input.

d31b0y

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Proxypass query
« Reply #2 on: May 24, 2010, 10:40:58 am »
Still not working...
Does nobody have any experience integrating eBox with another site?

At this rate, I may just remove eBox altogether and administer the box myself.