Re: Fw: [Ipcop-svn] SF.net SVN: ipcop:[6232] Fix permissions of redirect-background.jpg

Olaf Westrik <weizen_42-Yz37vSk3/[email protected]>
Newsgroups gmane.comp.security.ipcop.devel
Message-ID <[email protected]>
On 2012-01-15 21:43, Gilles Espinasse wrote:

> I don't like that much but haven't yet look why this is needed and if there
> is a better way to do that.

for URL filtering there is option to 'customize' the error shown to the 
user when URL is blocked.
The admin can upload a custom image whch is then included in the error page.


How about we do this:
  - change to use PNG, until now we only use GIF and PNG images.
  - config option to include background image in error page (default=YES).
  - if the admin wishes to customize the background image, he can do so 
by putting custom-redirect-background.png into /home/httpd/html/images.
  - in redirect.cgi check for config option
     - if yes and /home/httpd/html/images/custom-redirect-background.png 
exist, use that.
     - if yes and custom-redirect-background.png does not exist, use 
'our own'.
     - if no, no background image.



Olaf


PS: custom-redirect-background.png would need a comment in the manual.

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.