Problem with my htaccess config

Discussion in 'Apache' started by CosmaWorks, Sep 26, 2011.

  1. #1
    Hello,

    This is my actual htaccess situate in my root folder of domain:

    order deny, allow
    RewriteEngine on
    RewriteBase /
    ^(.*)/(.*)/ RewriteRule index.php? File = $ 2
    ~ "\.(php|php.*|sphp|php3|php4|php5|phtml|cgi|pl|sht ml|dhtml|html|htm|txt)$"> <Files
    deny from all
    </ files>

    add.php> <Files
    allow from all
    </ files>

    index.php> <Files
    allow from all
    </ files>

    login.php> <Files
    allow from all
    </ files>

    log.txt> <Files
    deny from all
    </ files>

    <Files ~ "^\.">
    deny from all
    </ files>

    My problem comes when I have a folder called "forum" where I have a MyBB forum with the script, the issue is that I can see the forum homepage, and access, but I can not click on any link, or read anything as long I get forbidden page someone can help me on how to allow all the directory?

    Thanks
     
    CosmaWorks, Sep 26, 2011 IP