Bypassing Mod_rewrite

software development


Hello, I got this .htaccess setup on

Basically it does what I want in regards of the subdomain passing it on to view.php

But I would like it if every other path (ie: if theres actually something behind the domain’s / ) was treated as if it was on the main site.

For example if I do an image source of /~1/image.jpg I’d like to be able to do it just like that instead of… having to spell out the entire domain of the main site just to load images, CSS, other scripts, javascript, etc.

-Karl Blessing


Try adding a RewrtieCond with a test for a URL that matches “/”

RewriteCond %{REQUEST_URI} ^/$

:cool: -//- One-time [color=#6600CC]$50.00 discount[/color] on [color=#0000CC]DreamHost[/color] plans: Use ATROPOS7