Revision: 54028
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at December 7, 2011 11:12 by hotdiggity
Initial Code
RewriteEngine on RewriteCond %{HTTP_HOST} ^(www.)?myotherdomain.com.au$ RewriteCond %{REQUEST_URI} !^/aliases/myotherdomain/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /aliases/myotherdomain/$1 RewriteCond %{HTTP_HOST} ^(www.)?myotherdomain.com.au$ RewriteRule ^(/)?$ aliases/myotherdomain/ [L]
Initial URL
Initial Description
Rewrites url to appear like the additional domain appears independently hosted, however, only appropriate for a temporary web page as other pages throw an error.
Initial Title
Host additional domain in subdirectory
Initial Tags
htaccess
Initial Language
Apache