Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Multiple Domains - Apache
- Date: Thu, 1 May 2008 22:32:16 +0900
- From: tlug@example.com
- Subject: Re: [tlug] Multiple Domains - Apache
- References: <5d4da3b88ceb2ef7d5735c55eed18ba9@localhost.localdomain> <200804302320.47907.tlug@extellisys.net> <481933B4.8040800@ldp.jp>
- User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)
On Thursday 01 May 2008 12:06:28 Brett Robson wrote: > <VirtualHost *:80> > ServerName www.domain.net > RewriteEngine on > RewriteRule ^/(.*)$ http://officede.net/$1 > </VirtualHost> This is NOT correct, as it does not set the status correctly. Append the flag "[R=301]" for MOVED PERMANENTLY. > this code redirects all page requests correctly to the "real" address, eg Actually, Redirect redirects all page requests "correctly": http://httpd.apache.org/docs/2.2/mod/mod_alias.html#redirect "Additional path information beyond the matched URL-Path will be appended to the target URL." Cheers, Travis
- Follow-Ups:
- Re: [tlug] Multiple Domains - Apache
- From: Brett Robson
- References:
- Re: [tlug] Multiple Domains - Apache
- From: Brett Robson
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] 160GB USB 2.0 HDD for sale
- Next by Date: Re: [tlug] 160GB USB 2.0 HDD for sale
- Previous by thread: Re: [tlug] Multiple Domains - Apache
- Next by thread: Re: [tlug] Multiple Domains - Apache
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links