Hi,
I have a htaccess file under home/user/public_html/.htaccess
But it affects all my other websites aswell they are in
home/user/public_html/my main website
home/user/public_html/website1/
home/user/public_html/website2/
Problem is that it affects my other webpages website 1 and website 2
Is there a way to avoid this? its giving me a lot of problems.
This is how it currently looks
Would appreciate if someone could help me
Best Regards
Jawn
I have a htaccess file under home/user/public_html/.htaccess
But it affects all my other websites aswell they are in
home/user/public_html/my main website
home/user/public_html/website1/
home/user/public_html/website2/
Problem is that it affects my other webpages website 1 and website 2
Is there a way to avoid this? its giving me a lot of problems.
This is how it currently looks
Code:
RewriteEngine On
RewriteCond %{REQUEST_URI} !.*images.* [NC]
RewriteCond %{REQUEST_URI} !.*.js.* [NC]
RewriteCond %{REQUEST_URI} !.*forum.* [NC]
RewriteCond %{REQUEST_URI} !.*admin.* [NC]
RewriteCond %{REQUEST_URI} !.*.gif.* [NC]
RewriteCond %{REQUEST_URI} !.*.bmp.* [NC]
RewriteCond %{REQUEST_URI} !.*.%.* [NC]
RewriteCond %{REQUEST_URI} !.*.jpg.* [NC]
RewriteCond %{REQUEST_URI} !.*.htm.* [NC]
RewriteCond %{REQUEST_URI} !.*.css.* [NC]
RewriteCond %{REQUEST_URI} !.*.swf.* [NC]
RewriteCond %{REQUEST_URI} !.*.php.* [NC]
RewriteCond %{REQUEST_URI} !.*.txt.* [NC]
RewriteCond %{REQUEST_URI} !.*.png.* [NC]
RewriteCond %{REQUEST_URI} !.*.dcr.* [NC]
RewriteCond %{REQUEST_URI} !.*.dir.* [NC]
RewriteCond %{REQUEST_URI} !.*.rar.* [NC]
RewriteCond %{REQUEST_URI} !.*.zip.* [NC]
RewriteCond %{REQUEST_URI} !.*.pl.* [NC]
RewriteCond %{REQUEST_URI} !.*.tmpl.* [NC]
RewriteCond %{REQUEST_URI} !.*.pm.* [NC]
RewriteCond %{REQUEST_URI} !.*/$ [NC]
RewriteRule ^.*$ index.php [L]
Would appreciate if someone could help me
Best Regards
Jawn






