Re: Linking Scripts

From: PO (po)
Date: 12/02/04


Date: Thu, 2 Dec 2004 20:25:45 +0100

Both are true.

I don't know exactly what you mean by "..URL -- do you see the include?".
When I try to debug I get a message saying "Source code is not available for
the current statement (I use MS InterDev). I guess that makes sense when the
include doesn't work and the script is not included in the .htm page.

The funny thing is that it works locally but not on the webserver. Could
there by anything else wrong with the following statement:

<Script Language="VBS" SRC="../../_Script/Utils.inc"></Script>

(I've also tried <script type="text/vbscript"
src="../../_Script/Utils.inc"></script> as you suggested with the same
negative result)

The statement is placed between the <HEAD> tags. Could that have anything to
do about it?

Regards
PO

"McKirahan" <News@McKirahan.com> wrote in message
news:dEIrd.599757$mD.290698@attbi_s02...
> "PO" <po> wrote in message news:OmfJB9I2EHA.3408@tk2msftngp13.phx.gbl...
> > Hi
> >
> > Yes, the "_Script" folder is two levels above and everthing works fine
on
> my
> > localhost. The error only occures when I try to run the application on
the
> > webserver.
> >
> > Regards
> > PO
>
> Are the following is true?
>
> 1) Local access:
>
> http://localhost/{folder1}/{folder2}/{folder3}/page.htm
>
> http://localhost/{folder1}/_Script/Utils.inc
>
> 2) Internet access
>
> http://{domain}/{folder1}/{folder2}/{folder3}/page.htm
>
> http://{domain}/{folder1}/_Script/Utils.inc
>
> If so, what happens when you submit the above URL -- do you see the
include?
>
>



Relevant Pages

  • Re: DNS Query
    ... > Leave that webserver out of the domain and stick it on the routerside. ... > server. ... >>> Regards, ... >>> Marina ...
    (microsoft.public.windows.server.sbs)
  • Re: Netcraft
    ... Thanks and regards, ... > Does anyone know how Netcraft queries a webserver to get the info it ... > does (OS, web server software, uptime, etc.)? ...
    (RedHat)
  • Re: Linking Scripts
    ... For some reason the IIS on ... the webserver didn't like the .inc suffix. ... Regards ... >> The funny thing is that it works locally but not on the webserver. ...
    (microsoft.public.scripting.vbscript)
  • Re: Linking Scripts
    ... > localhost. ... The error only occures when I try to run the application on the ... > webserver. ... Local access: ...
    (microsoft.public.scripting.vbscript)
  • Re: php free hosts
    ... Install MySQL and a webserver on your local computer. ... Regards, ... Matthias ...
    (comp.lang.php)