Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-13-2007, 10:50 PM   #1
Registered: Dec 2006
Posts: 362

Rep: Reputation: 30
redirect url

hi all.

I'm trying to help a friend with a redirect. is no longer active - "404 File not found" - Apache/1.3.27 Server at Port 80

Site1 would like anyone who types the above URL to be directed to: where site1 appears to be a subdomain on site2. Is it a subdomain? This URL was developed and will be hosted by site2.

So to recap, the site1 URL is no longer active. This URL now needs to point to a new URL which is supported by a separate site. The first site is hosted at I have WS_FTP access and permissions to the first site on Westhost. What do I need to do to make this happen?

i need this. if u have solution replay only the solution. and
dont ask me what and why.

send an example.
am using fedora4.
solution may in any language.(c,ruby)

please shw me the way
Old 02-14-2007, 10:03 AM   #2
Senior Member
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,502

Rep: Reputation: 121Reputation: 121
do you want a http redirect for visitors who point their browsers to that url?if so you could place a javascript in an index.html on that server. If mod_rewrite on the server you may redirect a visitor with a .htaccess file like

RewriteEngine On
ErrorDocument 404 /newdocs/my404.html

depending on the directory structure of the server...

hope this helps
Old 02-15-2007, 12:18 AM   #3
Registered: Dec 2006
Posts: 362

Original Poster
Rep: Reputation: 30
thank you


actually i dont know about redirect...

is the java script working in linux.(fedora4) i dont know.

but is there any solution in ruby,perl or c....

please halp me in this way...

thank you


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
url redirect Present Linux - Networking 4 01-26-2007 09:08 AM
Apache URL issue - will redirect help... rlprofessional Linux - Newbie 9 06-16-2006 11:43 AM
Apache URL redirect problem kdogksu Linux - Networking 2 03-26-2005 02:22 PM
URL Redirect (with Masking) BxBoy General 0 03-11-2003 09:44 PM
Apache Virtual URL Redirect nxny Linux - Software 0 07-19-2002 02:36 PM

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

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