diff options
author | Ryan Bloom <rbb@apache.org> | 2002-06-15 07:20:59 +0000 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2002-06-15 07:20:59 +0000 |
commit | 1cbda7f33005e574c1c30abee01c73c52d73cfa7 (patch) | |
tree | d5b998849031f10d7a5f9f33e39f36d6ff6e3a17 /modules | |
parent | 54eae88ad7d30dd91ed42f7403e3462cf8982f3d (diff) | |
download | httpd-1cbda7f33005e574c1c30abee01c73c52d73cfa7.tar.gz |
We must set the MIME-type for .shtml files to text/html if we want them
to be parsed for SSI tags. Add the config for that to the default
config file so that it is easier to enable .shtml parsing.
PR: 9787
Submitted by: Dave Dyer <ddyer@real-me.net>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95693 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mappers/mod_userdir.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/mappers/mod_userdir.c b/modules/mappers/mod_userdir.c index 85c32af08f..7d874bf5fd 100644 --- a/modules/mappers/mod_userdir.c +++ b/modules/mappers/mod_userdir.c @@ -347,12 +347,12 @@ static int translate_userdir(request_rec *r) r->pool)) == APR_SUCCESS || rv == APR_INCOMPLETE))) { r->filename = apr_pstrcat(r->pool, filename, dname, NULL); - /* XXX: Does this walk us around FollowSymLink rules? + /* XXX: Does this walk us around FollowSymLink rules? * When statbuf contains info on r->filename we can save a syscall - * by copying it to r->finfo - */ - if (*userdirs && dname[0] == 0) - r->finfo = statbuf; + * by copying it to r->finfo + */ + if (*userdirs && dname[0] == 0) + r->finfo = statbuf; /* For use in the get_suexec_identity phase */ apr_table_setn(r->notes, "mod_userdir_user", w); |