LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-26-2004, 03: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, 03:57 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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, 04: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, 07:00 AM   #4
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
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



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 09:51 AM
redirecting http server xowl Linux - Networking 3 06-18-2005 04:25 AM
Use apache to rewrite to external server and keep same browser URL ijsman77 Linux - Software 1 04-09-2004 07:32 AM
JDBC mysql url parameter for tomcat's server.xml gschrade Linux - Software 4 02-29-2004 12:23 PM
Unable to run webpage on local server using ip in the url MakingOfAGeek Linux - Newbie 16 11-15-2003 07:09 AM

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

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