Author: ssmiweve
Date: 2008-01-23 11:59:48 +0100 (Wed, 23 Jan 2008)
New Revision: 6016
Modified:
trunk/war/src/main/webapp/WEB-INF/urlrewrite.xml
Log:
Endre showed (in genericsitesearch.sesam.no) how to do it while still honouring
the urls we must let through.
Modified: trunk/war/src/main/webapp/WEB-INF/urlrewrite.xml
===================================================================
--- trunk/war/src/main/webapp/WEB-INF/urlrewrite.xml 2008-01-23 10:56:06 UTC
(rev 6015)
+++ trunk/war/src/main/webapp/WEB-INF/urlrewrite.xml 2008-01-23 10:59:48 UTC
(rev 6016)
@@ -33,7 +33,7 @@
<!-- Everything non-specified falls back to the default search
(unspecified c parameter) -->
- <!-- TODO more work is needed to exclude
+ <!-- We make the presumption that all the following urls (that we must
still honour) contain a second '/'
- /search/(.*)
- /map/(.*)
- /servlet/(.*)
@@ -41,7 +41,6 @@
- /export/(.*)
- /static/(.*)
- /tradedoubler/(.*)
- - before enabling the following very generic rewrite.
-->
- <!--rule><from>^/(.+)$</from><to>/search/?q=$1</to></rule-->
+ <rule><from>^/([^/]+)$</from><to>/search/?q=$1</to></rule>
</urlrewrite>
_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits