Hitting localhost/foo/bar.html or localhost/foo/bar with the following
configuration works.

<Directory "/foo">
   Options Indexes FollowSymLinks MultiViews
   MultiviewsMatch Handlers Filters
   AddHandler type-map var
   AllowOverride None
   allow from all
</Directory>

I also had to add bar.html.var in /foo, with the following contents:
        URI: bar

        URI: bar.html.en
        Content-language: en
        Content-type: text/html

        URI: bar.html.fr
        Content-language: fr
        Content-type: text/html

Thanks.
,
Josh.


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of 
> Joshua Slive
> Sent: Monday, June 19, 2006 3:36 PM
> To: users@httpd.apache.org
> Subject: Re: [EMAIL PROTECTED] ErrorDocument Question
> 
> On 6/19/06, Fenlason, Josh <[EMAIL PROTECTED]> wrote:
> > I'm trying to go the MultiView route, but I'm having a 
> little trouble.
> > I added
> > <Directory "/foo">
> >   Options Indexes MultiViews
> >   AllowOverride None
> >   Order allow,deny
> >   Allow from all
> > </Directory>
> >
> > /foo contains
> >   bar.html.en
> >   bar.html.fr
> >   bar.html.ja
> >
> > When I go to localhost/foo/bar.html the page can't be 
> found.  I'm sure 
> > I'm missing something stupid, but I'm not sure what.  Any 
> suggestions?
> > I'm on Apache 2.2.2 if that makes any difference.  Thanks.
> 
> Well, yes, there probably is a silly mistake someplace.  But 
> it becomes almost impossible to detect when you obscure your 
> examples ("foo", "bar").  For example, do you know that 
> <Directory> must point to real filesystem directories like 
> /usr/local/apache2/htdocs/foo and not web-directories like /foo?
> 
> Joshua.
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to