LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-05-2004, 04:18 AM   #1
ijsman77
LQ Newbie
 
Registered: Mar 2004
Posts: 13

Rep: Reputation: 0
Use apache to rewrite to external server and keep same browser URL


I was wondering if it is possible fot apache to rewrite a request to an external server (i.e. myotherserver.com/mainpages/)

and keep the original URL in the browser (i.e. mydomain.com)

if i host the pages on the apache server there is no problem, but with an external page the links etc. point to myotherserver.com/mainpages/somelink.html

and it should be mydomain.com/somelink.html

is this impossible due to the fact that the other server is rendering these links?
 
Old 04-09-2004, 07:32 AM   #2
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
What I read yesterday the external addresses from mod_rewrite are fully qualified addresses, including the http:// part. Maybe there is a possibility to change that behavior, else your task would probably not work.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hi, I've got an apache server which keeps crashing when I hit it with a web browser. humbletech99 Linux - Networking 6 11-30-2005 03:06 AM
apache proxy server rewrite urls slackwarefan Linux - Software 0 10-19-2004 07:58 PM
Problems accessing my RH9 Apache web server from the URL! kman2045 Linux - Networking 7 01-10-2004 08:14 AM
apache mod rewrite Robert0380 Linux - Software 5 07-31-2003 04:42 PM
Apache 2 with Tomcat 4 URL Problem In Browser adcworks Linux - General 1 08-16-2002 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration