httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@ai.mit.edu (Robert S. Thau)
Subject Re: patching mod_alias.c - i'll do it but have a small question
Date Thu, 04 Jul 1996 15:58:53 GMT
  Is there some way for a routine to know whether it is being called from a
  .htaccess or a server config file?

Yes.  Check cmd->path, which will be the name of the directory in the former
case and NULL in the latter.

rst

Mime
View raw message