On Monday, November 12, 2001, at 09:20 AM, Gabriel Ambuehl wrote: > -----BEGIN PGP SIGNED MESSAGE----- > > Hello Bill, > > Monday, November 12, 2001, 2:15:52 AM, you wrote: > >> The good news is that qmailadmin would remain cookie free. I just >> implemented a similar scenario in PHP4 with its new session >> support. Seems to work pretty well. > >> Thoughts? Better ideas? Problems with this idea? > > Good idea. And while your on it: please make qmailadmin obey > CGI environment variables (probably HTTP_REQUEST, I haven't got the > CGI spec near me) to get its URL instead of hardcoded CGI path during > configure.
I've never seen this as a problem, and don't entirely understand what you mean. In PHP for example, there's a variable called PHP_SELF (in the HTTP_SERVER_VARS array) that is basically the URI without the post or get variables appended. Is this what you mean? Would this even work with the way qmailadmin uses URIs like /cgi-bin/qmailadmin/com/showusers (that looks like directories)? Since you can have multiple virtual hosts access the cgi via apache's ScriptAlias directive and other means, it's never posed a problem for me. And, with templates, you can still have unique html for each virtual host. All the while the cgi path is hard coded. > Changes should be minimal cause AFAIK, right now, the URL should be > generated by ##C for which it should be trivial to add a GET > parameter, no? > > > > > Best regards, > Gabriel -Bill
