try mod_rewrite.. http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
M-- ----- Original Message ----- From: "Christoph P. Kukulies" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 12, 2007 12:29 PM Subject: I'm desparate with an Apache problem and ReverseProxy > I know this may not be the correct mailing list but maybe > I can find an expert here - I didn't get an answer yet > in any apache forum I knew of: > > I have an apache2 and a Tomcat running (in Tomcat I have OpenCMS > running as a content management system) > > Furthermore I have an application server in my intranet which can be accessed > by a firewall rule also from my webserver through the internet. > > I'm trying to put some statements in my sites Virtual host section > to map request going to > > http://www.mycompany.com/forum to http://forum.mycompany.com/ > > doing it by > > ProxyPass /forum/ http://forum.mycompany.com/ > ProxyPassReverse /forum/ http://forum.mycompany.com > > I have barred the server http://forum.mycompany.com to the Internet > and only a request coming directly from www.mycompany.com is being let through. > > What happens is that when I access the site from the outside (INternet) > and enter http://www.mycompany.com/forum/ in the browser > I'm seeing that the client (browser, lower left corner in Firefox) > tries to connect directly to forum.mycompany.com which it shouldn't. > > From my understanding the site server should do the request and pass the > response back to the client. > > Please help. > > > -- > Chris Christoph P. U. Kukulies kuku_at_kukulies.org > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]