Re: Rewrite Voodoo pt. 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19-Jan-10 17:16, Peter J Milanese wrote:
Have to throw in something here. Tom gave you the right answers. What exactly is 'one of those'?

RTFM is not always the "right" answer to the question asked.

The list is comprised of good questions and answers. Not part time employees :)

My efforts are unpaid as well, you would be correct to think of this
as my foaf effort for a good cause.

My attempt was:

RewriteEngine On
RewriteRule ^(www\.)?domain\.ext/subdomain/(.*)$ subdomain\.domain\.ext/$2 [R=301,L]


I now think this would be better:

RewriteEngine On
RewriteRule ^domain\.ext/subdomain/(.*)$ subdomain\.domain\.ext/$2 [R=301,L]

but I don't know why. Or if it will work. Or why. I'd like to know why.

Reese


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux