The Un-Official Proxomitron Forum
URL matching - Printable Version

+- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums)
+-- Forum: Proxomitron Filters (/forumdisplay.php?fid=38)
+--- Forum: Filter Help/Request (/forumdisplay.php?fid=31)
+--- Thread: URL matching (/showthread.php?tid=794)



URL matching - dudge669 - May. 01, 2006 11:03 PM

If I want a filter to only apply while viewing the main root page of a website but not subpages, how would I put that on the url line?

Example, I want the filter to be active here:
(http://www.|)someserver.com/

but not if I'm on: http://www.someserver.com/info.html

It works if I can find out what the homepage file is called (index.htm/default.htm/index.php/etc) but if I can't figure that out or don't want to limit it, how can I limit that automatically?


- Siamesecat - May. 02, 2006 06:55 AM

Perhaps the old "not one character" trick would work. In the URL match, you could try:
(http://www.|)someserver.com/(^?)
The "(^?)" means that there is to be nothing after the slash.