Forgive me.. bit new to the htaccsess writing like this.. but basically i have a php script that requires an installer so im writing (or rather trying to) a simple htaccsess file.. that basically redirects users to: mydomain.com/installer and once this has been deleted just default to standard root/index this is what i have so far: Options +FollowSymLinks RewriteEngine On RewriteCond %{DOCUMENT_ROOT}/installer -d RewriteCond %{REQUEST_URI} !(installer) [NC] RewriteRule ^(.*) /installer [L,redirect=302] Code (ApacheConf): this seems to work ok.. but unfortunately on the simple installer index page is 2 images and the images don't work.. what am i doing wrong?
Nope they are located.. one directory back and like 2 directory back in? so like this: root > Installer > index.php root > Media > images > 2 x images here
I suppose that is the reason. I.e. requests to those images are being redirected to /installer folder as well. So you have to either put the images into installer folder as well or add an exception to your .htaccess rewrite rules.
hmm never thoght of it like that.. that would explain things.. going to test that theory inamo! EDIT: all confirmed working now i moved images to same folder.. thanks for your help