[Pretty URLs] - i can't get it to work

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
rtkd
Forum Members
Forum Members
Posts: 126
Joined: Tue Dec 12, 2006 3:57 pm

Re: [Pretty URLs] - i can't get it to work

Post by rtkd »

yeah, phpinfo says "mod_rewrite" module is loaded.

error log says this

Code: Select all


[warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[warn] RewriteCond: NoCase option for non-regex pattern '-d' is not supported and will be ignored.
[error] [client 127.0.0.1] Invalid URI in request GET /site/p005/arbeiten.html HTTP/1.1, referer: http://localhost/site/p005/
[warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[warn] RewriteCond: NoCase option for non-regex pattern '-d' is not supported and will be ignored.
[warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[warn] RewriteCond: NoCase option for non-regex pattern '-d' is not supported and will be ignored.
[warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[warn] RewriteCond: NoCase option for non-regex pattern '-d' is not supported and will be ignored.
[warn] RewriteCond: NoCase option for non-regex pattern '-f' is not supported and will be ignored.
[warn] RewriteCond: NoCase option for non-regex pattern '-d' is not supported and will be ignored.

Pierre M.

Re: [Pretty URLs] - i can't get it to work

Post by Pierre M. »

Hello,

first, try to rewrite static URLs (/abc/123.html) to actual static HTML (/xyz/456.html) pages, to test the rewriting. When this works, go on to the dynamic ones.

Your first .htaccess seems good (modulo the "two mistakes"). It doesn't hurt and may help to setup the RewriteBase also.
Try to setup a rewritelog (see Apache doc) to debug.

The warning about NoCase seems Apache v2.2 related. You are not the first to report some rewriting problem specific to this version. Please search Apache's support too.

Pierre M.
rtkd
Forum Members
Forum Members
Posts: 126
Joined: Tue Dec 12, 2006 3:57 pm

Re: [Pretty URLs] - i can't get it to work

Post by rtkd »

i will do that, and report back here as soon as anything changes.
Post Reply

Return to “CMSMS Core”