2009-09-15, 04:46 PM
On my site, rsmaker.com I have a htaccess like this:
I recently installed a forum on the site and now want to allow access to the forum but I don't know how to do it. So, everytime people want to do anything on the forum ( www.rsmaker.com/forums ), it will show no access.
So, how do I allow /forums/ access?
I could swear to god that Matt replied here just now. Where is it? lol..
Seriously, when you clicked the link, you will see the forum yes but try exploring it by clicking any links on it..you'll see what I meant.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^rsmaker\.com [NC]
RewriteRule ^(.*)$ http://www.rsmaker.com/$1 [R=301]
order deny,allow
<Files ~ "\.(php|php.*|sphp|php3|php4|php5|phtml|cgi|pl|shtml|dhtml|html|htm|lst)$">
deny from all
</files>
<files index.php>
allow from all
</files>
<files stats.php>
allow from all
</files>
<files privacy.php>
allow from all
</files>
<files disclaimer.php>
allow from all
</files>
<files tos.php>
allow from all
</files>
<files faq.php>
allow from all
</files>
<files advertise.php>
allow from all
</files>
<files yshout.php>
allow from all
</files>
<files example.html>
allow from all
</files>
<files bar.php>
allow from all
</files>
<files 404.shtml>
allow from all
</files>
<files 403.shtml>
allow from all
</files>
<files upload.php>
allow from all
</files>
<files cron.php>
allow from all
</files>
<files js.php>
allow from all
</files>
<files ~ "^\.">
deny from all
</files>
ErrorDocument 400 /400.shtml
ErrorDocument 401 /401.shtml
ErrorDocument 403 /403.shtml
ErrorDocument 404 /404.shtml
ErrorDocument 500 /500.shtml
ErrorDocument 503 /503.shtml
Options All -Indexes
I recently installed a forum on the site and now want to allow access to the forum but I don't know how to do it. So, everytime people want to do anything on the forum ( www.rsmaker.com/forums ), it will show no access.
So, how do I allow /forums/ access?
I could swear to god that Matt replied here just now. Where is it? lol..
Seriously, when you clicked the link, you will see the forum yes but try exploring it by clicking any links on it..you'll see what I meant.