Page 1 of 1

problem in clean url pattern ??

Posted: Fri Oct 03, 2008 3:09 am
by PHPycho
Hello forums!!

I would like to know, how to handle the '/' as params in clean urls.
The url pattern is like:

Code: Select all

http://localhost/mysite/mycontroller/my ... /key2/val2 ...
Suppose the case:

Code: Select all

key1 = filepath
val1 = uploads/docs/abc.doc
So in this case the clean url pattern which is separated by / will be violated.

So i would like to know how to use param values with '/' so as to preserve the pattern.

Thanks in advance for the valueable suggstions.

Re: problem in clean url pattern ??

Posted: Fri Oct 03, 2008 3:14 am
by Christopher
Usually the rewrite rule excludes URLs that end with a file extension. So your second example would not be rewritten.