================================
RewriteCond %{HTTP_HOST} ^x\.x\.x\.x$
RewriteRule ^(.*)$ https://x.x.x.x/myapp/$1 [L,R=301]
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
======================================
Where "x" is the IP address separated by the dotted "." notation
Cheers!!!
No comments:
Post a Comment