View Full Version : Debian Reverse Proxy on port 80
grandpagenocide
19th June 2008, 01:10
Ok, I had it working until I installed the first website on the server. and for some reason after setting up websites it mysteriously stops working. Any ideas?
falko
19th June 2008, 17:52
Are there any errors in Apache's error log?
grandpagenocide
19th June 2008, 18:05
nothing relating to manage.rhwebhosting.com is in /var/logs/apache2/error.log
falko
20th June 2008, 14:25
And in the error logs in each web site's log directory?
grandpagenocide
20th June 2008, 15:06
nothing there either
falko
21st June 2008, 11:15
Can you post the relevant parts of your Apache configuration?
grandpagenocide
21st June 2008, 16:30
NameVirtualHost *
<VirtualHost *>
ServerName manage.rhwebhosting.com
DocumentRoot /var/www/
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://manage.rhwebhosting.com:81/
ProxyPassReverse / http://manage.rhwebhosting.com:81/
</VirtualHost>
falko
22nd June 2008, 14:49
Is Vhosts_ispconfig included before or after that vhost?
grandpagenocide
22nd June 2008, 16:18
its after. I followed the tutorial to the letter.
falko
23rd June 2008, 21:21
But if it's after, you shouldn't get a shared IP page for http://manage.rhwebhosting.com/ because the shared IP vhost is defined in Vhosts_ispconfig.conf. :confused:
djoz
24th June 2008, 01:35
Hi,
I have the right same issue with an ISPConfig installation on an ubuntu 8.04 server.
After a fresh install, I also followed the reverse proxy tutorial to the letter and everything worked fine until I declare my first website.
Here is an extract of my apache2.conf
# Include generic snippets of statements
Include /etc/apache2/conf.d/
NameVirtualHost *
<VirtualHost *>
ServerName www.mydomain.tld
DocumentRoot /var/www/
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / https://www.mydomain.tld:81/
ProxyPassReverse / https://www.mydomain.tld:81/
SSLProxyEngine on
AllowCONNECT 81
</VirtualHost>
# Include the virtual host configurations:
Include /etc/apache2/sites-enabled/
<Directory /var/www/sharedip>
Options +Includes -Indexes
AllowOverride None
AllowOverride Indexes AuthConfig Limit FileInfo
Order allow,deny
Allow from all
<Files ~ "^\.ht">
Deny from all
</Files>
</Directory>
and when i tried to access the admin ispconfig login form, i get the shared IP page :(
Nothing in the apache2 logs ...
any ideas ?
Thx
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.