Page 1 of 1

[SOLVED] MLE , Mod Rewrite URL problems

Posted: Tue Jun 10, 2008 10:00 am
by jiss
Hi

I've made a website in 2 languages, with cmsms mle 1.2.3
i put .htaccess and made the condiguration in config.php

it's working well with the first and second level but
for more levels i cant't switch the language

Code: Select all

RewriteEngine On

# Might be needed in a subdirectory
#RewriteBase /

# CMSMS Rewriting
# Set assume mod_rewrite to true in config.php and clear CMSMS cache
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^(.+)/(.+)$ index.php?hl=$1&page=$2 [QSA]
# END CMSMS

# END Rewrite rules



If someone have idea !
Thanks

Re: MLE , Mod Rewrite URL problems

Posted: Tue Jun 10, 2008 11:13 am
by alby
jiss wrote: I've made a website in 2 languages, with cmsms mle 1.2.3
FIRST UPDATE your release! There are security issues, now there is 1.3

Try to switch true/false for $config['use_hierarchy'] in config.php

Alby

Re: MLE , Mod Rewrite URL problems

Posted: Tue Jun 10, 2008 1:43 pm
by jiss
It's working well

Many thanks !  ;D

Another question, to update version of cmsms mle,
the only thing to do is to upload the standard ( not MLE )  patch ?

Re: MLE , Mod Rewrite URL problems

Posted: Tue Jun 10, 2008 2:09 pm
by alby
jiss wrote: It's working well

Many thanks !  ;D

Another question, to update version of cmsms mle,
the only thing to do is to upload the standard ( not MLE )  patch ?
Have you read Doc/Howto?  ::)

Case D

Alby

Re: [SOLVED] MLE , Mod Rewrite URL problems

Posted: Tue Jun 10, 2008 2:51 pm
by jiss
I read it more quickly
i retry

Thanks for all
many respects for your MLE job !

Re: [SOLVED] MLE , Mod Rewrite URL problems

Posted: Mon Jun 23, 2008 6:11 pm
by huynhcaoky
RewriteEngine On

# Might be needed in a subdirectory
#RewriteBase /

# CMSMS Rewriting
# Set assume mod_rewrite to true in config.php and clear CMSMS cache
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^(.+)/(.+)$ index.php?hl=$1&page=$2 [QSA]
# END CMSMS

# END Rewrite rules
Dear Jiss.
Actually, the htaccess should be like this

Code: Select all

RewriteEngine On

# Might be needed in a subdirectory
#RewriteBase /

# CMSMS Rewriting
# Set assume mod_rewrite to true in config.php and clear CMSMS cache
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^([^/]+)/(.+)$ index.php?hl=$1&page=$2 [QSA]
# END CMSMS

# END Rewrite rules