Yii Framework Forum: Apache configuration enable disable modules - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Apache configuration enable disable modules Rate Topic: -----

#1 User is offline   raghavAgarwal 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 57
  • Joined: 21-March 13
  • Location:Gurgaon

Posted 02 January 2017 - 04:24 AM

Hi All,

Apache version: 2.2.27
OS: SunOS 3.5.10
PHP: 5.5.9

Now my issue is, I want to use mod_header apache module for prevent clickjacking on my site.
But there is no such module in apache modules directory.

Then I tried to search the 'so' file for this module. I downloaded apache 2.2.27 and put mod_header.c file in modules folder.

But when i tried restart the server, I am getting this error.

Quote

httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/mod_headers.so into server: ld.so.1: httpd: fatal: /usr/local/apache/modules/mod_headers.so: unknown file type



How can i use enable/use this mod_header module in my application.

Kindly help. Any help would be appreciated.

Thanks in advance.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users