> Hmm, I now see why Apache::Server is not quite suitable for > exists_config_define. As I've suggested in one of the replies re: > current_callback. exists_config_define(@_) is not a server instance > "attribute", but Apache's application "attribute". So if when we write > Apache::Server we are talking about $s, it doesn't fit into > Apache::Server::exists_config_define(@_);
I guess I can see it both ways. -DSSL is a property of the running server in that the server can't help but behave that way until it exits. I think it's similar to ServerRoot, which you can specify on the command line as well. but it's clearly not a property in the same way that server_version is, no. > > I suppose Apache:: is for all those methods/functions that don't fit > into Apache::Server, i.e. work before any servers are started. > > I wish it had hit me earlier, and not after geoff's nice commits. :) > > May be we should take this further and make Apache::Server what Apache:: > is used to be: i.e., just the httpd accessors. And create > Apache::ServerRec similar to Apache::RequestRec which will give the > access to $s? > > Same with ConnRec? I was going to suggest the same thing to one of Perrin's comments, so +1 on A::ServerRec and A::ConnRec in place of A::Server and A::Connection. > Obviously we need to wait a bit with changing everything and sleep on it > for some time. agreed :) --Geoff --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]