Re: [users@httpd] Will these rewrite rules do what I expect?

2014-10-04 Thread James Moe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/30/2014 10:33 PM, James Moe wrote: I wish to have three rules 1. if URL = http[s]://info.massamio.com/blog, redirect to http://blog.sohnen-moe.com/ 2. if URL = http[s]://info.massamio.com/resources, redirect to http://blog.sohnen-moe.com/

Re: [users@httpd] Will these rewrite rules do what I expect?

2014-10-03 Thread James Moe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/01/2014 04:30 AM, Eric Covener wrote: ​The REQUEST_URI doesn't contain a hostname​. Just the path component of the URL. Having *.massamio.com point to the one IP address then: RewriteEngine on RewriteCond %{HTTP_HOST} =info.massamio.com

Re: [users@httpd] Will these rewrite rules do what I expect?

2014-10-01 Thread Eric Covener
On Wed, Oct 1, 2014 at 1:33 AM, James Moe ji...@sohnen-moe.com wrote: RewriteCond %{REQUEST_URI} =/info.massamio.com/blog ​The REQUEST_URI doesn't contain a hostname​. Just the path component of the URL.

[users@httpd] Will these rewrite rules do what I expect?

2014-09-30 Thread James Moe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I wish to have three rules 1. if URL = http[s]://info.massamio.com/blog, redirect to http://blog.sohnen-moe.com/ 2. if URL = http[s]://info.massamio.com/resources, redirect to http://blog.sohnen-moe.com/ 3. any other http[s]://*massamio.com/