If I have a file on my web server I want to open via the Browser (Word,Excel,Text,Bitmap etc.) I noticed a regular <a href="myfile.doc"> does not seem to work (file not found).
If it was an htaccess or permissions problem, you'd get a different message, not the file not found. What is the webroot of your server? Do you have a server mapping for / to the webroot of your folder? I would imagine that if you didn't then more things would break, but I figured I'd ask anyway.
What is the code for the link (the <a href...) and the actual path on the server of the file?
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. -Douglas Adams (1952-2001)
may have missread, is data the root folder of the web, or the first folder off of the root? if it IS the root of the whole web (not just your app) you shouldn' thave to include the data in the path name.
the best way to find out what you're missing here is to put a cfm page in the same folder as the files that can't be found. do a dump of the cgi structure and see what you get for script_name or path_info
A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. -Douglas Adams (1952-2001)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.