Chris on 20 Jun 2005 14:59:33 -0000


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

[PLUG] Another apache RewriteCond question


Hey everyone,

I seem to be chasing my tail on something that I thought would be rather
easy. All I am trying to accomplish is to drop the www (if user submitted)
to an SSL site. In my virtual host for the 443 port I had tried to just:

RewriteCond Host: www\.domain\.dom
RewriteRule ^/(.*) https://domain.dom/$1 [L,R]


For the life of me I can not track down the proper syntax of this rule. I
know it must be something easy that I am overlooking so I ask if you guys
could take a quick look at it for me.

Thanks in advance,

Chris



___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug