Bypassing Mod_rewrite

software development

#1

Hello, I got this .htaccess setup on gwcmayhem.com

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 http://www.gwcmayhem.com/~1… having to spell out the entire domain of the main site just to load images, CSS, other scripts, javascript, etc.

-Karl Blessing


#2

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

ie
RewriteCond %{REQUEST_URI} ^/$

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