• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: I've made changes to tje pretty_url RewriteConds in wiki to fix incorrect syntax
PostPosted: Mon Jun 09, 2008 6:19 pm 
Offline
Forum Members
Forum Members
User avatar

Joined: Fri May 23, 2008 6:33 am
Posts: 65
Location: Sydney, Australia
Hi

I've modified quite a few pages in the documentation wiki to modify the RewriteCond statements relating to pretty_urls.

Previously, the docs had the following:

RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]

which I have changed to:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

Removing the [NC] (no case) flag.

From the Apache mod_rewrite manual:

\$1:
This flag is effective only for comparisons between TestString and CondPattern. It has no effect on filesystem and subrequest checks.


This applies to all versions of apache 1.* and 2.*. See, for example:
http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html

The [NC] flags on those RewriteCond will generally cause a [warn] message to be writting into the htppd error_log (of course this depends on logging level settings for the httpd).

I have updated the following wiki pages. These are the ones I could find via search that included these RewriteCond:

http://wiki.cmsmadesimple.org/index.php ... retty_URLs
http://wiki.cmsmadesimple.org/index.php ... l_Settings
http://wiki.cmsmadesimple.org/index.php ... And_Tricks
http://wiki.cmsmadesimple.org/index.php ... stallation
http://wiki.cmsmadesimple.org/index.php ... ettings/fr
http://wiki.cmsmadesimple.org/index.php ... ty_URLs/de
http://wiki.cmsmadesimple.org/index.php ... ty_URLs/nl
http://wiki.cmsmadesimple.org/index.php ... ettings/ru


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: I've made changes to tje pretty_url RewriteConds in wiki to fix incorrect sy
PostPosted: Wed Jun 11, 2008 5:09 pm 
Offline
Support Guru
Support Guru

Joined: Mon Jul 24, 2006 3:27 pm
Posts: 3679
Location: Paris
Thank you !
You are gifting time to the support team because there will be less "what is this [warn] message ?" to deal with.

Pierre M.

_________________
-- Pierre, former support team member.
Please read "how to submit installation/support requests" before posting. Don't send private messages to ask for support.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
A2 Hosting