mod rewrite - Is rewriteCond doesn't work with semicolon? -


i've ask rewrite rule pattern question.

well, problem still same. have following htaccess:

<ifmodule mod_rewrite.c>     # options +followsymlinks -indexes     rewriteengine on     rewritebase /      rewritecond %{request_uri} "forum/" [or]     rewritecond %{request_uri} "forum"     rewriterule (.*) $1 [l]      #checks see if user attempting access valid file,     #such image or css document, if isn't true sends     #request index.php     rewritecond %{request_filename} !-f     rewritecond %{request_filename} !-d     rewritecond %{request_filename} !-l     rewritecond %{request_uri} !^/forum     rewriterule (?!^forum(?:/.*|)$)^(.*)$ /index.php/$1 [l,nc,qsa] </ifmodule> 

and directory structure:

public_html  |--- /forum  |--- /assets  |--- /application  |--- /system  |--- index.php  |--- .htaccess 

forum subdirectory has simple machine forum installed, while root directory has codeigniter installed.

basically, want if accessing http://getnocms.com/something, rewritten http://getnocms.com/index.php/something.

but, if accessing http://getnocms.com/forum, don't want rewrite rule applied.

well, work. strange phenomenon happens when try access: http://www.getnocms.com/forum/index.php?action=admin;area=manageboards;sa=newcat;feb4219=bea74b1ac6aace220b204cb50a5d5027 way, codeigniter seems take on , show 404 not found page. if edit address bar this: http://www.getnocms.com/forum/index.php?action=admin&area=manageboards&sa=newcat&feb4219=bea74b1ac6aace220b204cb50a5d5027 run correctly (the smf handle request)

i come sudden conclusion rewritecond doesn't work semicolon. right?


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -