summaryrefslogtreecommitdiffstats
path: root/ipcalc/build/ipcalc-0.41_cgi_urls.patch
blob: 013d237ac3ba04a24916ae81d3c0e567d0dbea97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
--- ipcalc-0.41/ipcalc.cgi.orig	2006-07-27 11:42:13.000000000 +0200
+++ ipcalc-0.41/ipcalc.cgi	2007-09-28 18:14:44.000000000 +0200
@@ -40,7 +40,7 @@
 # 0.26   27.07.2006 Replaced REQUEST_URI with SCRIPT_URL to prevent cross-site-scripting attacks
 
 $|=1;
-$ipcalc = "/usr/local/bin/ipcalc";
+$ipcalc = "/usr/bin/ipcalc";
 $MAIL_ADDRESS="ipcalc-200502@jodies.de";
 # history:
 # 200404 
@@ -122,7 +122,7 @@
    <head> 
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15">
    <title>IP Calculator / IP Subnetting</title>
-   <link rel="shortcut icon" href="http://jodies.de/favicon.ico">
+   <link rel="shortcut icon" href="/ipcalc.ico">
    <script language="JavaScript" type="text/javascript">
       <!-- 
       function setFocus()
@@ -205,7 +205,7 @@
 <table border=0 width="100%">
 <tr>
 <td valign="top">&nbsp;</td>
-<td><a href="http://jodies.de/ipcalc"><img src="ipcal03.gif" align=right width=100 height=95 border=0 alt=""></a></td></tr>
+<td><a href="http://jodies.de/ipcalc"><img src="/ipcalc.gif" align=right width=100 height=95 border=0 alt=""></a></td></tr>
 </table>
 EOF
 if ($help) {
@@ -333,18 +333,12 @@
   
   <td nowrap valign=top>
    <a href="http://jodies.de/ipcalc">
-   <img src="ipcalculator.png" alt="Thanks to http://www.netzwerkinfo.de/daemons/ for this ip calculator icon :-)" border=0></a><br>
+   <img src="/ipcalculator.png" alt="Thanks to http://www.netzwerkinfo.de/daemons/ for this ip calculator icon :-)" border=0></a><br>
    <tt><span style="font-size: 8pt;">Version $version</span></tt></td>
  </tr>
 </table>
 <hr>
 <a href="http://jodies.de/ipcalc-archive/">Download</a><br>
-<a href="ipcalc.png">Screenshot</a> (ipcalc works also at the prompt)<br>
-<a href="http://jodies.de/ipcalc_cgi">CGI wrapper that produced this page</a>.<br>
-<a href="ipcalc-archive">Archive</a><br>
-Have a look in the archives for the <b>new version 0.38</b>, with the capability to deaggregate network ranges<br>
-<a href="ipcalc-faq/win32.html">How to run this under windows</a><br>
-Debian users can apt-get install ipcalc<br>
 2000-2004 <a href="mailto:$MAIL_ADDRESS">Krischan Jodies</a>
 
 </td></tr></table>