From: "David Evans" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, May 09, 2006 7:53 PM
Subject: Re: URL needs www appended
> if you are running on apache, you can use mod_rewrite to fix this, by
> including a rewrite rule, some
if you are running on apache, you can use mod_rewrite to fix this, by
including a rewrite rule, something like:
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.domainname\.com$ [NC]
RewriteRule ^(.*)$ http://www.domainname.com$1 [R=301,L]
dave
On Tue, 2006-05-09 at 08:26 -0500, Scott Purcell
Scott,
How about adding a filter that checks the url and if it does not see
"www.sitename.com" then it causes a redirect to the
same PATH on the "www.sitename.com" path. The only problem might be any
bookmarked or outside form submission pages if
they have parameters to go with them. But there
3 matches
Mail list logo