[SOLVED] MLE , Mod Rewrite URL problems

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
jiss
Forum Members
Forum Members
Posts: 25
Joined: Fri Sep 14, 2007 6:53 pm

[SOLVED] MLE , Mod Rewrite URL problems

Post 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
Last edited by jiss on Tue Jun 10, 2008 1:44 pm, edited 1 time in total.
alby

Re: MLE , Mod Rewrite URL problems

Post 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
jiss
Forum Members
Forum Members
Posts: 25
Joined: Fri Sep 14, 2007 6:53 pm

Re: MLE , Mod Rewrite URL problems

Post 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 ?
alby

Re: MLE , Mod Rewrite URL problems

Post 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
jiss
Forum Members
Forum Members
Posts: 25
Joined: Fri Sep 14, 2007 6:53 pm

Re: [SOLVED] MLE , Mod Rewrite URL problems

Post by jiss »

I read it more quickly
i retry

Thanks for all
many respects for your MLE job !
huynhcaoky
New Member
New Member
Posts: 3
Joined: Mon Jun 09, 2008 8:57 am

Re: [SOLVED] MLE , Mod Rewrite URL problems

Post 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
Locked

Return to “[locked] CMSMS MLE fork”