On 8/31/05, Dallas Wang <dallaswang@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx