Re: [users@httpd] mod_rewrite rewriting URLs with an additional "/" at the end? (www->non www)

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

 



At 07:30 AM 8/7/2006, you wrote:
Hi,

I'm trying to use mod_rewrite to redirect any "www.domain.com" -> "domain.com". I've set up the following rule:

Do you mean if I go to www.domain.com/blahlbnlasd.html , it redirects to just domain.com , or if I go to www.domain.com it goes to domain.com ? If the former, an easier method might be to set a error page as http://domain.com . If the latter, you might be able to accomplish that via DNS, but I'm a novice, so.. :)


---------------------------------------------------------------------
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