LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-26-2004, 04:26 PM   #1
wilcoNL
LQ Newbie
 
Registered: Nov 2003
Location: Den Bosch Netherlands
Distribution: Linux Fedora core 1
Posts: 6

Rep: Reputation: 0
Question Redirecting URL to another server




Hello,

Can I redirect an URL to another server?

I want to redirect an url like <customer>.website.nl to a specific internet server. Now I use www . website . nl : <port> to accomplish this.

I have tried virtual hosts but then my URL changes also and that is not what I want.

Maybe you know a solution.

Wilco
 
Old 03-26-2004, 04:57 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
i'm not that hot on apache, but I achieve that using mod_proxy http://httpd.apache.org/docs-2.0/mod/mod_proxy.html in conjunction with a virtualhost....
 
Old 04-04-2004, 05:29 PM   #3
wilcoNL
LQ Newbie
 
Registered: Nov 2003
Location: Den Bosch Netherlands
Distribution: Linux Fedora core 1
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you, I'll try that
 
Old 04-05-2004, 08:00 AM   #4
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,298

Rep: Reputation: 175Reputation: 175
what about just using a redirect HTML page?
like:

Code:
=========================== HTML file ======

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML><HEAD><TITLE> TITLE </TITLE>
<meta http-equiv="refresh"
content="2; URL=TARGET_FILE" />
</HEAD><BODY></BODY>

============================================
the "2;" means wait 2 seconds

billy
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
ERROR The requested URL could not be retrieved While trying to retrieve the URL: /re Niceman2005 Linux - General 1 06-29-2005 10:51 AM
redirecting http server xowl Linux - Networking 3 06-18-2005 05:25 AM
Use apache to rewrite to external server and keep same browser URL ijsman77 Linux - Software 1 04-09-2004 08:32 AM
JDBC mysql url parameter for tomcat's server.xml gschrade Linux - Software 4 02-29-2004 01:23 PM
Unable to run webpage on local server using ip in the url MakingOfAGeek Linux - Newbie 16 11-15-2003 08:09 AM


All times are GMT -5. The time now is 03:03 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration