Internel Sever Error and .htaccess file

I import a project via tortoise-svn to inside my wamp server's www folder.

but I got

Internel Sever Error

in apache error log>

[Fri Aug 24 11:04:45 2012] [alert] [client 127.0.0.1] C:/wamp/www/Myproject/.htaccess: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration, referer:http://localhost/

this may not affect to that: that project use zend, i set include_path in php.ini file like this

include_path = ".;c:\php\includes;C:\wamp\www\ZendFramework-1.11.12\library\Zend"

but that project already have zend inside library folder.

Answers


Make sure this is uncommented in your apache config:

LoadModule headers_module modules/mod_headers.so

The Header directive is part of mod_headers. Without that module loaded it's going to throw an error.


Need Your Help

Android: gravity ImageView in RelativeLayout failed

android android-relativelayout layout-gravity

I would like to align this ImageView in center (horizontal and vertical):

How get file from a directory using relative path?

c# asp.net .net

I am pretty new in C# and I am finding some difficulties trying to retrieve a jpg file that is into a directory of my project.