How to add mod_headers in apache ?
Quote:
cd /installd/buildapache/apache_1.3.36/src/modules/standard
/usr/local/apache/bin/apxs -c mod_headers.c
/usr/local/apache/bin/apxs -i -a -n headers mod_headers.so
|
this will compile and add the header to the apache along with adding the lines to httpd.conf
check httpd.conf by running
If everything is fine then restart httpd by giving the command
thats it! Now mod_headers will work with your apache.
Enjoy
