httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] File name contains '.var' doesn't work under Apache 2.0.54
Date Wed, 31 Aug 2005 15:43:08 GMT
On 8/31/05, Dallas Wang <> 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.


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