Some modules invite one to create a folder.
Download modules, platform modules, etc.
I often see the index.html file is missing in these folders.
Especially in the language folders happens often.
Some times it misses even i XOOPS Core.
What if protector got a function where it checks if index.html exist in all folders?
Function (I'm not a programmer)
Load the directory into a array
Search for index.html
If not exist echo "Index.html dos not exist in directory xxx"
(ore even better create the file)
Just a porposal for the great protector module
You Can do this Via Htacess File..
hi onasre
Quote:
You Can do this Via Htacess File..
There are many environments cannot override "Options" via .htaccess
Then, I've added the feature into my TODO
And how do you do about the followings about PM? >onasre
Quote:
when someone gets banned this message well Show up "You are registered as BAD_IP by Protector. "
i know you can change this message from / include /precheck_functions.php
but what if this Opition goes to the Admin Area , where you can insert your own Ban Message .. Now when u can Use Ban the IP (moratorium) , and u can pick the Banned IP suspension time .. it would be Nice now to write Down your own Ban Message Exp " You have been Banned , plz try after 10 minuts " of course the time of ban well be depand on what u have putted in Banned IP suspension time filed.
The answer is...
- Copy filters_disabled/precommon_badip_message.php into filters_enabled/
- Edit precommon_badip_message.php as you like
Okay, I'll add a filter with a message about "moratorium".