You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dean Gaudet <dg...@hotwired.com> on 1996/07/25 08:02:28 UTC
AddHandler server-parsed
Consider these config fragments:
DocumentRoot /docroot
DirectoryIndex index
AddType text/html html
AddHandler server-parsed .html
<Directory /docroot>
Options Includes FollowSymLinks ExecCGI MultiViews
</Directory>
Suppose /docroot/index.html exists, and has ssi in it.
When I access <http://hostname/directory/> it isn't server-parsed.
It's fine if I go to <http://hostname/directory/index.html>.
This doesn't seem right... am I missing something?
Dean
Re: AddHandler server-parsed
Posted by Dean Gaudet <dg...@hotwired.com>.
It's 1.1.1 hotwired mix... but I haven't touched the parts of the code that
should affect this. I'll dig more, and try to get a nice small example
(since our configs are 180k).
Dean
In article <ho...@acidik.organic.com>,
Alexei Kosut <ne...@hyperreal.com> wrote:
>On 25 Jul 1996, Dean Gaudet wrote:
>
>> Consider these config fragments:
>>
>> DocumentRoot /docroot
>> DirectoryIndex index
>> AddType text/html html
>> AddHandler server-parsed .html
>>
>> <Directory /docroot>
>> Options Includes FollowSymLinks ExecCGI MultiViews
>> </Directory>
>>
>> Suppose /docroot/index.html exists, and has ssi in it.
>>
>> When I access <http://hostname/directory/> it isn't server-parsed.
>> It's fine if I go to <http://hostname/directory/index.html>.
>>
>> This doesn't seem right... am I missing something?
>
>What server version are you using? 1.1.0 and earlier had a bug that made
>this not work. It's fixed in 1.1.1, though. I just tried it, and it does
>work. At least, on my site.
>
>-- Alexei Kosut <ak...@organic.com> The Apache HTTP Server
> http://www.nueva.pvt.k12.ca.us/~akosut/ http://www.apache.org/
>
Re: AddHandler server-parsed
Posted by Brian Behlendorf <br...@organic.com>.
On 25 Jul 1996, Dean Gaudet wrote:
> Consider these config fragments:
>
> DocumentRoot /docroot
> DirectoryIndex index
> AddType text/html html
> AddHandler server-parsed .html
>
> <Directory /docroot>
> Options Includes FollowSymLinks ExecCGI MultiViews
> </Directory>
>
> Suppose /docroot/index.html exists, and has ssi in it.
>
> When I access <http://hostname/directory/> it isn't server-parsed.
> It's fine if I go to <http://hostname/directory/index.html>.
>
> This doesn't seem right... am I missing something?
Do you have any other index.* files?
Does it work without the "." before "html"?
Brian
--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com www.apache.org hyperreal.com http://www.organic.com/JOBS
Re: AddHandler server-parsed
Posted by Alexei Kosut <ak...@organic.com>.
On 25 Jul 1996, Dean Gaudet wrote:
> Consider these config fragments:
>
> DocumentRoot /docroot
> DirectoryIndex index
> AddType text/html html
> AddHandler server-parsed .html
>
> <Directory /docroot>
> Options Includes FollowSymLinks ExecCGI MultiViews
> </Directory>
>
> Suppose /docroot/index.html exists, and has ssi in it.
>
> When I access <http://hostname/directory/> it isn't server-parsed.
> It's fine if I go to <http://hostname/directory/index.html>.
>
> This doesn't seem right... am I missing something?
What server version are you using? 1.1.0 and earlier had a bug that made
this not work. It's fixed in 1.1.1, though. I just tried it, and it does
work. At least, on my site.
-- Alexei Kosut <ak...@organic.com> The Apache HTTP Server
http://www.nueva.pvt.k12.ca.us/~akosut/ http://www.apache.org/