-----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
RewriteCond %{REQUEST_URI} =/blog
RewriteRule ^(.*)$ http://blog.sohnen-moe.com/ [R,L]

RewriteEngine on
RewriteCond %{HTTP_HOST} =info.massamio.com
RewriteCond %{REQUEST_URI} =/resources
RewriteRule ^(.*)$
https://sohnen-moe.com/resources/c2a-massamio-resources.php [R,L]

RewriteEngine on
RewriteCond %{HTTP_HOST} =www.massamio.com
RewriteRule ^(.*)$ https://sohnen-moe.com/timely/massamio.php [R,L]

IIRC, unless otherwise indicated, the ReWriteCond is a set of AND
conditions.


- -- 
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEARECAAYFAlQu4noACgkQzTcr8Prq0ZPIxQCcDwfeoEpf+qaz2neaSt4lJyeW
iXwAoKnvYghX2qPv0IXZJtmflJjidcUk
=9XB6
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to