We have a simple web site that publishes PDF documents. We present a
list of available documents, the user clicks on a link, and a PDF is
downloaded or presented in a browser window. This was working in
Active4D v4.0rc2. We upgraded to v4.0.2 recently and now when a user
clicks on the link, we get a "404 The requested resource could not be
found".
We have a folder structure like this:
Our Program
web (root)
foobar-> (shortcut to WebReports folder)
WebReports
Active4D.ini has this:
safe script dirs = <web>/../WebReports
safe doc dirs = <web>/../WebReports
Foobar is a legitimate shortcut to the WebReports folder.
I'm not positive the Windows shortcut is the problem, but I found this
in the latest docs, and it seems like it should not work with the
current version of A4D:
>From page 333 of the A4D v4 Reference:
(System Documents > Document paths)
The last element of a full or partial path, whether a directory or
filename, may be an alias (also known as a "shortcut" on Windows).
Directories within a path may not be aliases.
A typical resulting URL looks like this:
http://localhost/foobar/RF1%20%5B1%5D/2006-10-31%20Fund%20Report.pdf
The old version that is working is running on a compiled single user 4D.
Neither single user or server 4D with a4D 4.0.2 are working.
Any ideas?
Thanks,
Jim Hays
http://www.relevant.us
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/