[tools] update.script

Do you like use update.script ?

  • yes, all time

    Votes: 221 69.1%
  • no, some time

    Votes: 44 13.8%
  • some time

    Votes: 55 17.2%

  • Total voters
    320
I did the openssl update, however it didn't seem to update the module for apache. The update completed/compiled without any errors, but restarting apache still shows 0.9.7a.

Did I miss something?
 
I got mod_security going yesterday but it's blocking a legit script called "photopost". How do I stop it from doing that?
 
I got mod_security going yesterday but it's blocking a legit script called "photopost". How do I stop it from doing that?
Look in the log to see what the ID is of the rule that's blocking it. Then create a file in /etc/modsecurity2/ called "whitelist.conf". Inside it, edit and put this:
Code:
<LocationMatch "[COLOR="Red"]NAME OF SCRIPT[/COLOR]">
SecRuleRemoveById [COLOR="Red"]######[/COLOR]
</LocationMatch>
Then edit /etc/httpd/conf/httpd.conf and find this line:
Code:
Include /etc/modsecurity2/config.conf
Under it, put this:
Code:
Include /etc/modsecurity2/whitelist.conf
Save and restart apache.

PS: When you upgrade Mod_security, the rules in the folder get wiped. So make sure you move the whitelist.conf file out before doing so. I've had the pleasure of rewriting my whitelist file twice already. :p
 
mod_unique_id

Hi.
My system is CentOS 5, Apache 2.0.63
After using MODsecurity 1.9.5 for a while, I decided to update to MODsecurity 2.5.2.
The installation went well, but now I get this repeating message in httpd/error.log:
[error] ModSecurity: ModSecurity requires mod_unique_id to be installed.

Since my skill is terrible basic, I hope someone in the community can give some information on how to install this module.

Regards
Oddis
 
Is it possible for in the future that we have more mirrors? I got my server in the Netherland, but the mirrors are very slow.. I hope its possible.
 
what should i do ?

[root@server4 update]# ./update.script
/usr/local/updatescript/mirror.conf: No such file or directory
\mirror.conf downloaded.
./update.script: line 31: /usr/local/updatescript/mirror.conf: No such file or directory


10x :>
 
what should i do ?

[root@server4 update]# ./update.script
/usr/local/updatescript/mirror.conf: No such file or directory
\mirror.conf downloaded.
./update.script: line 31: /usr/local/updatescript/mirror.conf: No such file or directory


10x :>
I'd just do:
Code:
touch mirror.conf
The copy that your server was supposed to download was blank, so I don't see how it could hurt to just create a new blank one.
 
Back
Top