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 04-11-2005, 04:28 PM   #1
psychobyte
Member
 
Registered: Sep 2003
Location: Central Coast, California
Posts: 179

Rep: Reputation: 30
apache: http redirect for any request going to www.foo.com/*


Hi,

Can anyone hint as how to redirect any request to a website to another webpage. For example, I have a site http://www.foo.com/

I'd like any request to http://www.foo.com/ or http://www.foo.com/someotherpage.html to get redirected to one page. (I'm closing this site down and want anyone going there to be redirected to teh new site).

I'm using Apache.

Thanks,
 
Old 04-11-2005, 05:57 PM   #2
packetz
LQ Newbie
 
Registered: Mar 2005
Posts: 5

Rep: Reputation: 0
use this heading of your default page on the old site

<HEAD>
<META HTTP-EQUIV="refresh"
CONTENT="0;URL=http://your site dot com">
</HEAD>
 
  


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
http request mkamyar Linux - Software 5 08-30-2005 02:30 AM
nocat-like http redirect psychobyte Linux - Networking 0 08-15-2004 01:23 AM
apache and http://www.domainname.com xviddivxoggmp3 Linux - Software 4 04-07-2004 11:14 AM
Request for http.conf file for Apache 1.3.26 Thinkgeekness Linux - Software 2 04-19-2003 12:58 AM
IPCHAINS + www redirect to IIS ctenuta Linux - Networking 1 04-12-2001 06:03 AM


All times are GMT -5. The time now is 01:28 PM.

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