[solved] Rewrite Rules with RewriteBase not working

#1
Hello;

We use LSWS 4.1.13. The site worked in Apache but now the ReWrite rules aren't working correctly. Below are the rules in the problematic .htaccess file:

(Script is MyBB Google Seo)
RewriteEngine on

# Google SEO Eklentisinin calışması icin Sunucunuzda RewriteBase, RewriteRules Ozelliğinin etkin olması gerekmektedir.
RewriteBase /

# search.php sorunları icin gecici cozumler:
# .htaccess dosyasının yazma izni vermeniz gerekmektedir!(Chmod 777)
RewriteRule ^([^&]*)&(.*)$ http://www.mydomain.com/$1?$2 [L,QSA,R=301]

# Google SEO 404:
ErrorDocument 404 /misc.php?google_seo_error=404

# Google SEO Sitemap:
RewriteRule ^sitemap\-([^./]+)\.xml$ misc.php?google_seo_sitemap=$1 [L,QSA,NC]

# Google SEO URL Forumlar:
RewriteRule ^Forum\-([^./]+)\.html$ forumdisplay.php?google_seo_forum=$1 [L,QSA,NC]

# Google SEO URL Konular:
RewriteRule ^Konu\-([^./]+)\.html$ showthread.php?google_seo_thread=$1 [L,QSA,NC]

# Google SEO URL Duyurular:
RewriteRule ^Duyuru\-([^./]+)\.html$ announcements.php?google_seo_announcement=$1 [L,QSA,NC]

# Google SEO URL Kullanıcılar:
RewriteRule ^Uye\-([^./]+)\.html$ member.php?action=profile&google_seo_user=$1 [L,QSA,NC]

# Google SEO URL Takvimler:
RewriteRule ^ForumTakvimi\-([^./]+)\.html$ calendar.php?google_seo_calendar=$1 [L,QSA,NC]

# Google SEO URL Etkinlikler:
RewriteRule ^Etkinlik\-([^./]+)\.html$ calendar.php?action=event&google_seo_event=$1 [L,QSA,NC]
 
Last edited by a moderator:

NiteWave

Administrator
#2
don't see any special in the .htaccess file.

can you enable rewritelog and set log level to 9, then check error.log for detail about rewrite issue ?
 
Top