Hugo Ahlenius wrote:
I was just playing with the SearchEngineFriendlyURLFilter in web.xml (OpenBD
1.1) - but I can't seem to find much documentation for it (maybe time for a
wiki page?)

Could be--you volunteering? ;-) I'll get one put up today, though the comments in web.xml basically say it all--uncomment that block, save the file, and restart OpenBD.

- I can't really figure out how query strings are parsed/handled
by the filter, if at all.

They definitely are--see below. It's a pretty standard way of handling SES URLs.

I am playing with it using tomcat on a windows machine. By using a URL such
as:
http://localhost:8080/index.cfm/mypath/myfile?var1=tmp1&var2=tmp2

I get /mypath/myfile in CGIPATH_INFO, but no URL vars, and nothing in
CGI.QUERY_STRING. index.cfm in the root gets executed.

Once you flip on the SES URL filter, you'd do your URL variables like so:
http://localhost:8080/index.cfm/name1/value1/name2/value2

In other words you no longer have the traditional query string (?name1=value1&name2=value2)

Note that you CAN use plain old URLs even with the SES filter on, but you can't mix and match. So this would still work:
http://localhost:8080/index.cfm?name1=value1&name2=value2

--
Matthew Woodward
[email protected]
http://www.mattwoodward.com/blog

Please do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to