Re: [users@httpd] ServerAlias and RewriteRule

2011-09-15 Thread Frank Gingras
: [users@httpd] ServerAlias and RewriteRule Quoting Rajeev Prasad : > Hello, > > I am not sure why I my emails are getting this error (and not being > published in list), when i send a fresh email to list. FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_PASS, URI_OBFU_WWW Be

Re: [users@httpd] ServerAlias and RewriteRule

2011-09-15 Thread Rajeev Prasad
thank you Terry,   even th ebelow mesg was from yahoo, had rich text formatting...   but i have resent my mesg in plain text, lets see.       From: Terry Carmen To: users@httpd.apache.org Sent: Thursday, September 15, 2011 2:38 PM Subject: Re: [users@httpd] ServerAlias and RewriteRule Quoting

Re: [users@httpd] ServerAlias and RewriteRule

2011-09-15 Thread Terry Carmen
> From: Tom Evans > To: users@httpd.apache.org > Sent: Wednesday, August 17, 2011 11:03 AM > Subject: Re: [users@httpd] ServerAlias and RewriteRule > > On Wed, Aug 17, 2011 at 4:56 PM, Richard Taubo wrote: >> Thanks! >> >> So to be 110% clear, since this is kind of i

Re: [users@httpd] ServerAlias and RewriteRule

2011-09-15 Thread Rajeev Prasad
] ServerAlias and RewriteRule On Wed, Aug 17, 2011 at 4:56 PM, Richard Taubo wrote: > Thanks! > > So to be 110% clear, since this is kind of important to get right :-) > > 1) So either this – leave off the / from the end of the rewritten URL: >        RewriteRule ^(.*)$ http://www.exam

Re: [users@httpd] ServerAlias and RewriteRule

2011-08-17 Thread Tom Evans
On Wed, Aug 17, 2011 at 4:56 PM, Richard Taubo wrote: > Thanks! > > So to be 110% clear, since this is kind of important to get right :-) > > 1) So either this – leave off the / from the end of the rewritten URL: >        RewriteRule ^(.*)$ http://www.example.com$1 [L,R=301] > > 2) Or this – not c

Re: [users@httpd] ServerAlias and RewriteRule

2011-08-17 Thread Richard Taubo
On 17. aug. 2011, at 15.36, Tom Evans wrote: > On Wed, Aug 17, 2011 at 2:27 PM, Richard Taubo wrote: >> Hi! >> >> I originally set my virtual host up like this in my httpd.conf file: >> >> >> >> Question 1) >> Are there any problems running a): >>RewriteRule ^(.*)$ http://www.example.c

Re: [users@httpd] ServerAlias and RewriteRule

2011-08-17 Thread Tom Evans
On Wed, Aug 17, 2011 at 2:27 PM, Richard Taubo wrote: > Hi! > > I originally set my virtual host up like this in my httpd.conf file: > > > > Question 1) > Are there any problems running a): >        RewriteRule ^(.*)$ http://www.example.com$1 [L,R=301] > Rather than b): >        RewriteRule ^(.*)

[users@httpd] ServerAlias and RewriteRule

2011-08-17 Thread Richard Taubo
Hi! I originally set my virtual host up like this in my httpd.conf file: ServerName www.example.com ServerAlias example.com RewriteEngine On RewriteCond %{HTTP_HOST} ^example\.com$ [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301] Running curl to check t