Re: Javascript Not Working in IE5
| From: | Malcolm Clark | Date: | Thu, 04 Jan 2001 03:44:01 +0000 |
| Subject: | Re: Javascript Not Working in IE5 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-32539@lists.php.net to get a copy of this message | ||
It's strange that it works in Netscape4.7. I just can't think what
information IE5 wants to start up the javascript interpreter. It's as if
it's switched off *only* when viewing docs on the local server root. I've
looked in httpd.conf, but at first glance see no obvious config
requirenments.
REgards,
MaLX
----- Original Message -----
From: "Ignacio Vazquez-Abrams" <ignacio@openservices.net>
To: "Malcolm Clark" <mal@sawds.com>
Sent: Wednesday, January 03, 2001 11:32 AM
Subject: Re: [PHP] Javascript Not Working in IE5
> On Wed, 3 Jan 2001, Malcolm Clark wrote:
>
> > Going back to basics it appears the simplest script saved as .html does
not
> > work on my local Apache server.
> > (http://localhost/php4/php.exe/javascript.html)
> >
> > However, when paged loaded from:
> >
> > C:\Program Files\Apache Group\Apache\htdocs\javascript.html
> >
> > ..all is well!
> >
> > <html>
> > <head>
> > <title>Untitled Document</title>
> > <meta http-equiv="Content-Type" content="text/html;
> > charset=iso-8859-1">
> > </head>
> > <body bgcolor="#FFFFFF">
> > <script language="JavaScript">
> > alert('Hello');
> > </script>
> > </body>
> > </html>
> >
> > REgards,
> >
> > Malx
> >
>
> Hmm, that's odd. Was it working this way before? The usual way I've seen
for
> doing CGI under Apache is to give the script an extension corresponding to
the
> CGI language (e.g., .php) and then set the program as the handler for that
> extension. Then the script can be called directly (i.e.,
> http://localhost/javascript.php).
>
> --
> Ignacio Vazquez-Abrams <ignacio@openservices.net>
>
>