ModSecurity: ModSecurity requires mod_unique_id to be installed

If you encounter the error “ModSecurity: ModSecurity requires mod_unique_id to be installed.” you forgot to install a module that is needed by modsecurity. The easiest way to install this module is todo the following:

sudo /usr/local/apache2/bin/apxs -i -a -c httpd-2.2.11/modules/metadata/mod_unique_id.c

mod_unique_id should now be installed. Double check your Apache global configuration to make sure that mod_unique_id is being loaded at startup. Now restart your web server.

1 comment so far

  1. Pablo on

    Thanks solve my problem.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

%d bloggers like this: