return OK;
}
-/* TODO: Make sure the connection directives are enforced global only.
+/* Ideas for extension:
*
* TODO: An idea for configuration. Let the filename directives be per-directory,
* with a global hashtable of filename to filehandle mappings. As each directive
void *dummy, const char *arg1, const char *arg2)
{
- const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE
+ const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY
| NOT_IN_LIMIT);
if (err != NULL) {
return err;
void *dummy, const char *arg1, const char *arg2)
{
- const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE
+ const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY
| NOT_IN_LIMIT);
if (err != NULL) {
return err;
const char *arg1, const char *arg2)
{
- const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE
+ const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY
| NOT_IN_LIMIT);
if (err != NULL) {
return err;
const char *arg1, const char *arg2)
{
- const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE
+ const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY
| NOT_IN_LIMIT);
if (err != NULL) {
return err;
void *dummy, const char *arg1, const char *arg2)
{
- const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE
+ const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY
| NOT_IN_LIMIT);
if (err != NULL) {
return err;
void *dummy, const char *arg1, const char *arg2)
{
- const char *err = ap_check_cmd_context(cmd, NOT_IN_DIR_LOC_FILE
+ const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY
| NOT_IN_LIMIT);
if (err != NULL) {
return err;