Dedric Mauriac

Live, from inside the world of second life.

25 June, 2011

.htaccess

503977

I found another host of mine (not godaddy) allows me to request remote web pages on non-standard http ports. Moving on, i'm attempting to rewrite my url's so that any url passed to my website is transformed to an in-world path. This all hass to do with htaccess, and I think I finally broke through a barrier. Run for the hills - here it is.

RewriteEngine On
RewriteBase /dns
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^/dns/register$
RewriteRule ^(.*)$ register.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^/dns/register$
RewriteRule ^(.*)$ proxy.php [L]

Visit Applewood

Posted via email from dedricmauriac's posterous

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home