httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From klute <>
Subject [users@httpd] mod_cond/mod_rewrite help needed
Date Fri, 05 Aug 2005 13:17:01 GMT
Hello all,

I am having a hard time writing the following

Part 1 (easy)
If user requests
where keywords is an actual string, the following
should be invoked:

Part 2 (not-so-easy)
If user requests
where "|" is listed as any of the params (meaning no
filtering for that param is needed), do not use that
param in the search filter. It would be nice to be
able to exclude such params from the query string
(i.e. /search.php?keyword=seo&category=webmaster when
the original search contained
/search/seo/webmaster/|/| -- only <keywords> and
<category> are supplied )

I believe it is a combination of RewriteCond and
RewriteRule that needs to be applied but have no
experience of dealing with the former.

Any help will be greatly appreciated!

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message