ahairape at gmail.com
Wed Nov 19 07:47:11 EST 2008
I have an instance script (app.cgi) and corresponding application module
(App.pm) in *cgi-bin/*. For my application I also use HTML templates,
located in *cgi-bin/Templates/*.
which I have isolated in a.js file, kept in *htdocs/ *(Apache server root)
bullets), which are stored in *htdocs/app-images/* directory.
I refer to *bullet.gif* file in js code as to *app_images/bullet.gif*
When I am running my application, it does not see the image files. Firefox
plugin shows that the following file is requested: *
I.e., my application sees *cgi-bin* instead of *htdocs*.
I tried also other ways of referring to the image files in js code, such as:
*/app-images/bullet.gif*,* htdocs/app-images/bullet.gif*, but none of them
Putting the images under *cgi-bin* (bad idea by itself) didn't work also, as
httpd server recognised the image files as scripts and tried to execute
Thanks in advance,
P.S. Inadvertently sent this e-mail to cgiapp-request, sorry.
More information about the cgiapp