I use a wiki served by Apache Tomcat as a PIM. Everything works well with one exception. Some of the wiki pages have a link that references a file in the local file system. This link does not work - if I click on it then nothing happens. However if I use the browser "view source" option and copy and paste the source into a plain text file (with .html extension) on the desktop and then double click on that file or drag and drop that file into a browser window it works as expected and displays he linked file. Why is that and how can I fix it?
I am running apache-tomcat-7.0.39 on a computer that is running Microsoft Windows XP
Professional Version 2002 Service Pack 3. This problem occurs when using either IE or Firefox.
I am using the following version of IE:
Internet Explorer
Version: 6.0.2900.5512.xpsp.080413-2111
Cipher Strength: 128-bit
Product ID: 76487-OEM-0027856-22922
Update Version:; SP3
I am using the following version of Firefox:
Mozilla Firefox
version 2.0.0.13
It seems to me that the only difference between the page served by Tomcat and the page that I create by copying the page source is that the former will have headers, so I installed Live HTTP Headers 0.17 in Firefox and used that to capture the header produced by Tomcat. The header is as follows:
===== header begin
GET /wiki/cgi-bin/wiki.cgi?ReferencePage20050125T1810 HTTP/1.1
Host: localhost:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html
Content-Length: 2381
Date: Tue, 28 May 2013 02:50:05 GMT
===== header end
I am running apache-tomcat-7.0.39 on a computer that is running Microsoft Windows XP
Professional Version 2002 Service Pack 3. This problem occurs when using either IE or Firefox.
I am using the following version of IE:
Internet Explorer
Version: 6.0.2900.5512.xpsp.080413-2111
Cipher Strength: 128-bit
Product ID: 76487-OEM-0027856-22922
Update Version:; SP3
I am using the following version of Firefox:
Mozilla Firefox
version 2.0.0.13
It seems to me that the only difference between the page served by Tomcat and the page that I create by copying the page source is that the former will have headers, so I installed Live HTTP Headers 0.17 in Firefox and used that to capture the header produced by Tomcat. The header is as follows:
===== header begin
GET /wiki/cgi-bin/wiki.cgi?ReferencePage20050125T1810 HTTP/1.1
Host: localhost:8080
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/html
Content-Length: 2381
Date: Tue, 28 May 2013 02:50:05 GMT
===== header end