Results 1 to 2 of 2
Related
-
Signature Rule? Forum: General Discussion
Replies: 6 -
CSS conflict? Forum: CSS Forum
Replies: 4 -
.htaccess doesn't work Forum: HTML Forum
Replies: 1 -
host with htaccess Forum: Web Hosting Forum
Replies: 2 -
HTACCESS Forum: Website Scripts Forum
Replies: 2
-
01-19-2009, 04:45 PM #1
Conflict, What is the right htaccess rule, default homepage file with htaccess?
i want www.domain.com is directed to the www.domain.com/forum.php
usually i use this htaccess rule to define default homepage file
RewriteRule ^$ forum.php
but in one of my website, above rule is conflict with the other htaccess
RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ blog.php [L,QSA]
so the first rule is not working
please help how is the correct rule so both rule not conflict (maybe joining or split them)
i must found the answer, please help guys
-
03-07-2009, 02:31 PM #2
Re: Conflict, What is the right htaccess rule, default homepage file with htaccess?
Replace:
RewriteRule ^$ forum.php
with:
RewriteRule ^$ forum.php [L]
The [L] flag tells Apache not to process any further rules.
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum