#15 better profile expansion

open
nobody
None
5
2006-04-02
2006-04-02
Anonymous
No

This goes along with my better rule tracking suggestion. The profiles.. url command returns a list of profiles used on a given page. However it's hard to figure out which rules are in a given profile. The only way seems to be manually going through the rewrites page. It would be nice each profile name linked to a page that showed only the rules for that profile in the order they're applied. E.g. if mask-referrer is a profile, clicking it's name on a profiles..foo.com page would take you to page like this:

Profile: mask-referrer
Rules
-----
Comment prevent scripts from seeing referrer
MIME type text/html
Pattern (<script.*)document\.referrer(.*</script>)
Replace $1"nevermind"$2
Applies to ,,body,
Edit Delete

Comment prevent javascript's from seeing referrer
MIME type application/x-javascript
Pattern document\.referrer
Replace "nevermind"
Applies to ,,body,
Edit Delete

You could also change the profile name in other places to link to this output.

Discussion


Log in to post a comment.