Hi everybody!
I have a simple reverse proxy question that might be slightly off topic
and I apologise for that!
Do you have to run 2 instances of apache when you want to profit from
the reverse proxy configuration?
Or is it enough to have 2 different Virtual Server running?
Thanks
Denis
Here is my config:
### Frontend
<VirtualHost 192.168.200.178:80>
DocumentRoot /home/vservers/mymon/
ServerName frontend.test.at
RewriteEngine On
RewriteCond %{REQUEST_URI} ^(.*)[^\.js]$ ### match anything except .js
files
RewriteRule /(.*?)$ http://127.0.0.1:8330/$1 [P]
<Location />
Options FollowSymLinks ExecCGI Includes
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
</Location>
</VirtualHost>
### Backend Server with mod_perl
<VirtualHost 127.0.0.1:8330>
DocumentRoot /home/vservers/knowledge_base/
ServerName backend.test.at
<Location />
Options FollowSymLinks ExecCGI Includes
PerlResponseHandler ModPerl::Registry
AddHandler perl-script .pl
</Location>
</VirtualHost>