Stephen,
Thanks for your response to this message. I really appreciate it.
I am running ISPConfig 3 on OpenSuse 11.1
The problem that I had with the document for the apache reverse proxy is that on several parts of the process, some of the files were different for SuSe and when I did resolve these problems, the code inside of the files were not the same as the how to document. Such as the config.inc.php file:
[...]
if(isset($_SERVER['HTTP_HOST'])){
$go_info["server"]["server_url"] = 'http://'.$_SERVER['HTTP_HOST'];
} else {
$go_info["server"]["server_url"] = "http://ispconfig.example.com:81";
}
[...]
The above was no where to be found in my config.inc.php (which was located in two different directories).
Also, for your /etc/hosts config, what do you put for X.X.X.11 when that server has multiple websites (called virtual hosts?) located on it? My main webserver is hosting a few different websites so what would I put in this file for the primary server? Could I simply put "localhost" or should I put the name of the server itself?
Do you have any experience with OpenSuSe?
Thanks again!
Ray
*UPDATE*
I implemented your example and when it runs the configuration file from the /etc/apache2/vhosts.d/example.conf file, I get an error of :
Syntax error on line 5 of /etc/apache2/vhosts.d/example.conf:
Invalid command 'ProxyRequests', perhaps misspelled or defined by a module not included in the server configuration.
I have researched correcting this problem by making sure apache2-mod_proxy_html is installed (it is).
I tried using the LoadModule directive in httpd.conf but I get an error that it can not find the mod_proxy.so file in /srv/www
The file is in fact located in these two directories:
/usr/lib/apache2-prefork/mod_proxy.so
/usr/lib/apache2/mod_proxy.so
So I am at a stand still.
Is anyone else having (or had) this problem with this ProxyRequests error?
Any help would be appreciated.
*UPDATE*
I resolved the proxyreverse off error. I needed to install mod_proxy and not apache2_mod_proxy. This seems to have resolved the issue other than needing to change a shared objects link in the mod_proxy_html.conf file.
Not the problem I am having (which I was having before) is that there are no lines in:
/usr/local/ispconfig/interface/lib/config.inc.php
/usr/local/ispconfig/interface/lib/config.inc.php~
/usr/local/ispconfig/server/lib/config.inc.php
which are look like the following:
[...]
if(isset($_SERVER['HTTP_HOST'])){
$go_info["server"]["server_url"] = 'http://'.$_SERVER['HTTP_HOST'];
} else {
$go_info["server"]["server_url"] = "http://ispconfig.example.com:81";
}
[...]
as per the documentation on
http://www.howtoforge.com/apache_rev...roxy_ispconfig
Am I looking at the wrong file? I am on a OpenSuse server versus a debian but I would assume that the config.inc.php file would be the same on all distros. Am I incorrect in my assumption?
Recent comments
20 hours 45 min ago
1 day 1 hour ago
1 day 6 hours ago
1 day 8 hours ago
1 day 22 hours ago
1 day 22 hours ago
2 days 3 hours ago
2 days 9 hours ago
2 days 10 hours ago
2 days 12 hours ago