Shell in a box not working (proxy issue)

shellinabox

#1

Hi folks,

Strange issue with a friend’s installation and shell in a box.

if i hit:

https://serverip/username.console
I get “Service Unavailable”

I opened port 4224

When I hit
serverip:4224 I get the login screen.

I did a cat of /etc/apache2/sites-enabled/user.console.conf

LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so

ProxyRequests Off
<Proxy *>
	AddDefaultCharset Off
	Order deny,allow
	Allow from all
	AuthType Digest
	AuthName "rutorrent"
	AuthUserFile '/etc/htpasswd'
	Require valid-user
</Proxy>
ProxyPass /user.console http://192.168.0.13:4224
ProxyPassReverse /user.console http://192.168.0.13:4224

Am I missing something?

(Oh, i’ve also tried removing and reinsatlling :slight_smile:)


#2

So after writing out that post and seeing it written down, I managed to resolve it…

ProxyPass /user.console http://192.168.0.13:4224
ProxyPassReverse /user.console http://192.168.0.13:4224

I changed it to:

ProxyPass /user.console http://127.0.0.1:4224
ProxyPassReverse /user.console http://127.0.0.1:4224

turns out he didn’t have a static IP address set…

Leaving here to hopefully help the next person