Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 79496 invoked from network); 27 Oct 2003 13:38:17 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 27 Oct 2003 13:38:17 -0000 Received: (qmail 82802 invoked by uid 500); 27 Oct 2003 13:37:40 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 82773 invoked by uid 500); 27 Oct 2003 13:37:39 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 82672 invoked from network); 27 Oct 2003 13:37:39 -0000 Received: from unknown (HELO andy.evot.org) (80.55.32.214) by daedalus.apache.org with SMTP; 27 Oct 2003 13:37:38 -0000 Received: from jane.evot.org (jane [192.168.1.2]) by andy.evot.org (Postfix) with ESMTP id 981D51AAEF for ; Mon, 27 Oct 2003 14:39:38 +0100 (CET) From: Zbigniew Lisiecki Reply-To: zbyszek@evot.org Organization: zbyszek.evot.org To: users@httpd.apache.org Date: Mon, 27 Oct 2003 14:38:18 +0100 User-Agent: KMail/1.5.3 References: <20031026195153.IVFU28253.mf2@ubbe> <200310271026.06109.zbyszek@evot.org> <107801c39c6d$e750daf0$652e50d5@profundis.se> In-Reply-To: <107801c39c6d$e750daf0$652e50d5@profundis.se> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310271438.18226.zbyszek@evot.org> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] jscript won't open file://localhost X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On pon 27. of October 2003 10:37, Robert Andersson wrote: > Zbigniew Lisiecki wrote: > > i thought Apache (web server) should forward it to the konqueror > > (web browser) > > Yes, Apache serves the content to your browser. It does not do anything > with any JavaScript in an HTML document, that is interpreted by the client > (browser). > > > yes, it should be whatever dir possible like "file://" > > i can point it to the correct place later > > Apache is an HTTP server. A 'file:///'-style URI, will use the 'file' > scheme to display files on your local filesystem, and Apache will not have > anything to do with it. This is purely an HTML/client issue. Here is once more my question: the file x.html has the following contents: < html > < head > < script language=JavaScript > F1 = open("file:/"); F2 = open("http://localhost/"); < /script > < /head > < body > < /body > < html > calling konqueror browser with: "file:/svr/www/htdocs/x.html" opens two new windows F1 with system root and F2 with apache root/index calling konqueror browser with: "http://x.html" opens only one window ! why ? and how could i change it ? why did it work before an upgrade ? regards, zbyszek -- http://zbyszek.evot.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org