Mental Patient on Wed, 23 Jul 2003 13:29:04 -0400


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

Re: [PLUG] URL redirects in apache


On Wed, 2003-07-23 at 13:15, Marc Zucchelli wrote:
> For the sample URL
> http://www.domain.com/path/to/random/url, I would like
> for apache to redirect that to the same exact URL but
> without the www, is this possible from httpd.conf or
> better yet, .htaccess?
> 

mod_rewrite?
http://httpd.apache.org/docs/misc/rewriteguide.html
Check out the cononical urls section. 


-- 

Mental (Mental@NeverLight.com)

CARPE NOCTEM, QUAM MINIMUM CREDULA POSTERO.

GPG public key: http://www.neverlight.com/pas/Mental.asc

Attachment: signature.asc
Description: This is a digitally signed message part