Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Internal redirection and relative URLs

Status
Not open for further replies.

glandvador

Technical User
Jan 9, 2003
1
CH
In the first time, I want to redirect an application listening only on the local interface of my main web server (Apache 1.3) through a virtual folder.
So:

browser -> ->
I try to use the rewrite and proxy module, but I still have some issues.
I put in my httpd.conf file:

RewriteEngine on
RewriteRule ^/test/(.*) [P,L]

This load the main html page (a frame layout) but inside each frame I get a 404 error because the server doesn't found the pages. The browser search for "/page1.html" URLs.

For a quick and dirt hack, I match the most important pages like:

RewriteRule /page.html [P,L]

but this isn't my final goal.

In the second time I want to have an encrypted communication between the browser and my web server and a clear communication inside the local computer.

Any ideas on how implement this ??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top