Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Calling a CF file via a URL - doesn't work when directory changes

0 views
Skip to first unread message

cozzifantutti

unread,
Oct 18, 2005, 11:57:29 AM10/18/05
to
I have a course (AW7.02) which calls external Cold Fusion .cfm files for
validating login IDs through LDAP and for
updating a table.

I want to create a single custom variable for the location of these Cold
Fusion files so that when I go
from development to production, I only have to change the code in one place.

The project I'm working was saved using "save as..." from the original, so
that I didn't have to commit to
these changes -- but I have unlinked the settings.

The original url location of these Cold Fusion files is:

"http://devserver/authorware/CFusion/"

And when I set the "webpath" variable to this value, it works fine.

When I substitute this:

"http://devserver/intranet/Admin/Courses/global/"

...it doesn't.

The login script then concatenates the user ID and password enteredby the
user, so the result if I
display it to the screen is:


"http://devserver/intranet/Admin/Courses/global/authorwareLoginAction.cfm?id=jan
e&pass=abc123"

I've tried displaying the complete concatenated URL to the screen, and what is
displayed is a valid URL that
will run if I type the exact same thing into a browser. So the file is there;
it just can't seem to find it, and it doesn't seem to run within Authorware.

Are there other settings for such things that are saved with a file, and so
the "save as" version doesn't know
where to go looking for the script? This occurs when testing in the
development environment; I haven't even
gotten to re-publishing it yet.

The other useful information is that "http://devserver/" is the root directory
of our development web server, and actually points to http://devserver/wwwroot/

Any ideas?


Amy Blankenship *TMM*

unread,
Oct 18, 2005, 12:22:17 PM10/18/05
to
How are you "running" the CFM file?

-Amy

"cozzifantutti" <webfor...@macromedia.com> wrote in message
news:dj3619$shq$1...@forums.macromedia.com...

0 new messages