httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] Includes + MultiViews (using SSI and Content Negotiation)
Date Fri, 21 Nov 2003 21:42:00 GMT

On Fri, 21 Nov 2003, Ivan Montoro wrote:

> Hi,
> I'm afraid I'm doing something wrong but could not
> discover what. I would like to configure a virtual
> host so I can have: index.shtml.en,,
> common/, common/
> This is my httpd.conf snip
> ----
>     AddType text/html .shtml
>     AddOutputFilter INCLUDES .shtml
>     AddHandler type-map .var
>     Options MultiViews +Includes
>     DirectoryIndex index.shtml.var
> ----
> I'm realy lost with Apache docs as english is not my
> natural language, could someone tell me please what's
> wrong with it?

You should start here:

Notice that there are two ways to do content negotiation: multiviews, or a
type map.  From your first paragraph, it seems like you want to do
multiviews, but your configuration is for type maps.  To fix that, you can
remove the AddHandler line, and change the DirectoryIndex line to simply
DirectoryIndex index.shtml

Also, in the future, you should state exactly what happens when you try to
access your sites, and include all relevant log entries.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message