LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 07-29-2009, 02:03 AM   #1
Radioactiveman
LQ Newbie
 
Registered: Mar 2009
Posts: 6

Rep: Reputation: 0
Question apache redirect url


hi all

http://test1.ch is the main page
http://test2.ch is the sub page(alias) in another language(italian)

so that means every request on http://test2.ch should be redirected to http://test1.ch/it/home

i already tried: redirect permanent http://test2.ch http://test1.ch/it/home

but nothing happens

thx
radioactiveman
 
Old 07-29-2009, 01:40 PM   #2
rtg
Member
 
Registered: Aug 2005
Location: Ukraine
Distribution: Ubuntu 9.04
Posts: 99
Blog Entries: 3

Rep: Reputation: 19
You need to use

Code:
Redirect permanent / http://test2.ch/it/home
in the configuration of test1.ch alias.
 
  


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
How to redirect URL in apache chnlinux Linux - Newbie 1 01-08-2009 04:15 AM
URL redirect in apache maniannam Linux - Server 2 01-05-2009 01:03 AM
apache redirect to local url nkhetia Linux - Server 1 11-23-2008 03:56 PM
Apache URL redirect problem kdogksu Linux - Networking 2 03-26-2005 02:22 PM
Apache Virtual URL Redirect nxny Linux - Software 0 07-19-2002 02:36 PM


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