-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/
-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
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.
-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/