Revision: 6123
http://ipcop.svn.sourceforge.net/ipcop/?rev=6123&view=rev
Author: dotzball
Date: 2011-11-21 15:50:15 +0000 (Mon, 21 Nov 2011)
Log Message:
-----------
Change path of image directory as we now have only one image directory for http
and https.
Modified Paths:
--------------
ipcop/trunk/html/cgi-bin/urlfilter.cgi
ipcop/trunk/html/vhost81/cgi-bin/redirect.cgi
Modified: ipcop/trunk/html/cgi-bin/urlfilter.cgi
===================================================================
--- ipcop/trunk/html/cgi-bin/urlfilter.cgi 2011-11-21 09:55:31 UTC (rev
6122)
+++ ipcop/trunk/html/cgi-bin/urlfilter.cgi 2011-11-21 15:50:15 UTC (rev
6123)
@@ -237,7 +237,7 @@
if ($filtersettings{'ACTION'} eq $Lang::tr{'urlfilter upload background'})
{
&General::getcgihash(\%filtersettings, {'wantfile' => 1, 'filevar' =>
'BACKGROUND'});
- if (copy($filtersettings{'BACKGROUND'},
"/home/httpd/vhost81/html/images/redirect-background.jpg") != 1) {
+ if (copy($filtersettings{'BACKGROUND'},
"/home/httpd/html/images/redirect-background.jpg") != 1) {
$errormessage = $!;
goto ERROR;
}
Modified: ipcop/trunk/html/vhost81/cgi-bin/redirect.cgi
===================================================================
--- ipcop/trunk/html/vhost81/cgi-bin/redirect.cgi 2011-11-21 09:55:31 UTC
(rev 6122)
+++ ipcop/trunk/html/vhost81/cgi-bin/redirect.cgi 2011-11-21 15:50:15 UTC
(rev 6123)
@@ -89,7 +89,7 @@
END
;
-if (($filtersettings{'ENABLE_JPEG'} eq 'on') && (-e
"/home/httpd/vhost81/html/images/redirect-background.jpg"))
+if (($filtersettings{'ENABLE_JPEG'} eq 'on') && (-e
"/home/httpd/html/images/redirect-background.jpg"))
{
print <<END
<body
style="background-image:URL('http://$netsettings{'GREEN_1_ADDRESS'}:$http_port//images/redirect-background.jpg');
background-color:#FFFFFF; font-family:verdana, arial, 'sans serif';">
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn