Upgrade 3.x to 4.0.x .htaccess problem !

dimmis

Active Member
#1
Hello,
we run a big xmb forum site !
After update from Version 3 to Version 4.0.3 (also 4.0.5) the redirection of our htaccess file is not working anymore.
Before the update, the main Developer of XMB Forums helped us out to handle the large (4GB) DBs in a better way therefor he modified the code of the forum and writes the htaccess file. The bad thing is that this Guy is not longer available for us !
Now the redirection from the .htaccess file leads to "403 FORBIDDEN" !

The .htaccess file looks like this:

Code:
<Files .htaccess>
deny from all
</Files>

suPHP_ConfigPath /home/multini/public_html

# Rewrite rules for the current boards, to make their code centralized
RewriteEngine On
RewriteBase /

# make sure to keep images and such separate;
# luckily they're all contained in /FORUM/images
RewriteRule ^fun/images(.*) fun/images$1 [L]
RewriteRule ^sports/images(.*) sports/images$1 [L]
RewriteRule ^sciences/images(.*) sciences/images$1 [L]
RewriteRule ^humanity/images(.*) humanity/images$1 [L]
RewriteRule ^art/images(.*) art/images$1 [L]

# uncomment this to close down the forums

# rewrite /art => /art/index.php for all fora
RewriteRule ^fun$ fun/index.php [L,R]
RewriteRule ^sports$ sports/index.php [L,R]
RewriteRule ^sciences$ sciences/index.php [L,R]
RewriteRule ^humanity$ humanity/index.php [L,R]
RewriteRule ^art$ art/index.php [L,R]

# rewrite all forums to the base-forum
RewriteRule ^fun(.*) base-forum$1 [L,E=BID:fun]
RewriteRule ^sports(.*) base-forum$1 [L,E=BID:sports]
RewriteRule ^sciences(.*) base-forum$1 [L,E=BID:sciences]
RewriteRule ^humanity(.*) base-forum$1 [L,E=BID:humanity]
RewriteRule ^art(.*) base-forum$1 [L,E=BID:art]

RewriteCond %{QUERY_STRING} ^(.+)$
RewriteRule ^index.php index.joomla.php?%1 [L]
Maybe somebody can see what we are missing here ?!?:confused:
 

mistwang

LiteSpeed Staff
#3
You can upgrade to 4.0.10 now. Does all URL result in 403?
If you access the target rewrite URL, does it work?
I did not see any rewrite rule could result in 403 error, so it should be something else. Maybe a mod security rule?
 
Top