betabug... Sascha Welter

home english | home deutsch | Site Map | Sascha | Kontakt | Pro | Weblog | Wiki

06 October 2005

Thinking about the Zope Witch's Future

Extend and expand!
 

There was not that much feedback on the Zope witch (a RewriteRule generator) yet, but what I got so far was positive. This morning on freenode's #zope, TinoW suggested including the witch into the Zope distribution, possibly as part of the Virtual Host Monster (VHM) or its help system. I had already been thinking about this, and about some other expandation plans. Desired endresult? Why, world domination of course, read on...


There would be some advantages to the witch being integrated into the Virtual Host Monster:

I don't think it would be a good idea to try to mess with the Apache httpd.conf file directly, that gets incredible messy with permission and file locations. What would have to be definitely worked upon is the witches user interface. The interface would have to be more in line with the Zope admin interface style. Downside to all this? I would have to work on it (and I'm as busy as everyone else). And then I actually like to provide the service on my own humble site :-).

What is definitely on the roadmap is redirecting of access to the manage interface. The witch should offer a second spell interface to generate rules like those (which redirect all acces to URLs with "manage" in them to the https secure server):

RewriteRule \
^/(.*)/manage(.*) \
https://%{SERVER_NAME}/$1/manage$2 [R=301,L]
RewriteRule \

^/manage(.*) \
https://%{SERVER_NAME}/manage$1 [R=301,L]
The hardest part in writing the witch was getting the UI (user interface) to become halfway understandable. The same would be true for this second spell generator: What options make sense, what is there to customize? For example I do use these simple rules for my ZMI access, but on other installations I have similar rules to other applications which are only to be accessed over SSL. Sometimes the redirecting should only happen on an exact URL start, other times (as with manage) we trigger on any part of the URL. More thought work.

Posted by betabug at 10:28 | Comments (0) | Trackbacks (0)
ch athens
Life in Athens (Greece) for a foreigner from the other side of the mountains. And with an interest in digital life and the feeling of change in a big city. Multilingual English - German - Greek.
Main blog page
Recent Entries
Best of
Some of the most sought after posts, judging from access logs and search engine queries.

Apple & Macintosh:
Security & Privacy:
Misc technical:
Athens for tourists and visitors:
Life in general:
<< Neue Wohnung und alles nicht gemacht | Main | The Cold of the Night in the Street >>
Comments
There are no comments.
Trackbacks
You can trackback to: http://betabug.ch/blogs/ch-athens/199/tbping
There are no trackbacks.
Leave a comment