LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Upgrade 3.x to 4.0.x .htaccess problem !

Reply
 
Thread Tools Display Modes
  #1  
Old 08-20-2009, 02:28 AM
dimmis dimmis is offline
Member
 
Join Date: Aug 2008
Posts: 33
Unhappy Upgrade 3.x to 4.0.x .htaccess problem !

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 ?!?
Reply With Quote
  #2  
Old 08-20-2009, 08:54 AM
dimmis dimmis is offline
Member
 
Join Date: Aug 2008
Posts: 33
Default No One ?? Its some kind of urgent !!

Reply With Quote
  #3  
Old 08-20-2009, 10:23 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
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?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:53 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.