httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <>
Subject apache 1.2.0 (fwd)
Date Tue, 24 Jun 1997 12:21:07 GMT

---------- Forwarded message ----------
Date: Tue, 24 Jun 1997 18:34:58 -0400 (EDT)
From: "Curtis Wilbar [STAFF]" <>
Subject: apache 1.2.0

This is not a bug report, but what I think will be a very nice enhancement
to Apache 1.2.0.

This modification comes in real handy when running Apache 2.0 with suexec
as the httpd server for Microsoft Front Page extensions.

It allows for the sytx of

Include filename

in a *.conf file.

This allows the httpd.conf file to contain
separate includes for each virtual domain.
Those included files can all have separate owners allowing child web sites
(a MS Front Page feature) to work (otherwise you'd have to follow MS's
security model which is a closed server with every file owned by the httpd
process UID).

It's a failry simple modification.... the majority of the time was spent
looking at how the existing code worked.  

I hope the modification will come in handy to others, and if there is
a list of contributors in the product, I'd mearly like a mention ...

I'd appreciate hearing your input on this feature...

Here is a diff of my mods and the Apache 1.2.0 http_core.c file:

% diff http_core.c http_core.c.orig
< const char *process_include_file (cmd_parms *cmd, void *dummy, char *arg)
< {
<       process_resource_config(cmd->server, arg, cmd->pool, cmd->temp_pool);
<       return NULL;
< }
< { "Include", process_include_file, NULL, RSRC_CONF, TAKE1, "The filename of the include

View raw message