httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dallas Wang <dallasw...@gmail.com>
Subject Re: [users@httpd] File name contains '.var' doesn't work under Apache 2.0.54
Date Wed, 31 Aug 2005 16:24:55 GMT
Yes, it worked. Thank you very much!

On 8/31/05, Joshua Slive <jslive@gmail.com> wrote: 
> 
> On 8/31/05, Dallas Wang <dallaswang@gmail.com> wrote:
> > Hi, here's my enviroment:
> >
> > OS: Linux - Redhat Fedora Core 4
> > Apache: Bundled RPM, version 2.0.54, with default httpd.conf
> >
> > I just found that I can't use '.var' in filenames. Any html file with 
> the
> > name contains '.var' under document_root
> > will cause a 500 Internal Server Error. However, files with extension
> > '.php' will work.
> > i.e. a.var and a.var.html won't work, var.html and a.var.php will work.
> >
> > I guess it's because those 'index.html.var' feature. How can I overcome
> > this? Thank you.
> 
> Find the line in httpd.conf that says something like
> AddHandler type-map .var
> and comment it out.
> 
> 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: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
>

Mime
View raw message