LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-03-2007, 02:19 PM   #1
zivota
Member
 
Registered: May 2005
Distribution: CENTOS
Posts: 91

Rep: Reputation: 15
Apache - How to traslate URL


Hi there,

I have a apache proxy server(firewall as well) on my network which has to forward request for www.domain.com to something like http://server.onmydomain.com/something/which is server behind it.


How to do it?
 
Old 08-03-2007, 03:24 PM   #2
Cringe
LQ Newbie
 
Registered: Aug 2007
Location: KC, MO
Distribution: Fedora 7
Posts: 10

Rep: Reputation: 0
You should be able to go to the website where you registered "www.domain.com" and have it forwarded to the website you requested. If you have access to the server "www.domain.com" is pointing to, and for some reason cannot change where "www.domain.com" is sent to, a quick fix would be the HTML code below as your index.html.

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Your Page Title</title>
<meta http-equiv="REFRESH" content="0;url=http://www.the-domain-you-want-to-redirect-to.com"></HEAD>
<BODY>
Optional page text here.
</BODY>
</HTML>
 
Old 08-03-2007, 03:43 PM   #3
zivota
Member
 
Registered: May 2005
Distribution: CENTOS
Posts: 91

Original Poster
Rep: Reputation: 15
Cringe man,

I am not sure I'm following you.

Once again. I have access to machine where www.domain.com is. I just want once that machine receives request for www.domain.com to forward reqeust to http://ohtermachine.on_same_subnet_a...com/directory/

I want original HostHeader www.domian.com to appear in browser.

Or I am wrong maybe???



Thanks!!
 
  


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
apache - changing URL Timur Linux - Server 20 10-13-2006 01:07 AM
apache url rewrite gallew Linux - Server 0 08-25-2006 03:54 AM
apache and url help cambie Linux - Software 1 08-11-2005 08:49 AM
Apache and non-existing URL Mn3moniC Linux - Networking 0 07-06-2004 01:00 PM
Apache Url simquest Linux - Software 2 11-26-2002 03:46 PM

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

All times are GMT -5. The time now is 09:46 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