Control Web Panel

WebPanel => Apache => Topic started by: Breaker on March 22, 2015, 10:50:15 PM

Title: How to enable mod_headers on httpd
Post by: Breaker on March 22, 2015, 10:50:15 PM
Hello,

When i am trying to use:

Code: [Select]
Header set Access-Control-Allow-Origin "*"
I get a 500 error, all i know is that i dont have the mod_headers in my httpd.

How do i add that module ?

Thank you.
Title: Re: How to enable mod_headers on httpd
Post by: Administrator on March 24, 2015, 04:30:15 PM
you have apache rebuilder in the CWP

You can check modules loaded in your current compiled version
Code: [Select]
/usr/local/apache/bin/httpd -t -D DUMP_MODULES