August 10th, 2000, 04:49 PM
I have an Apache web server and want people who visit my site to be able to access and download templates of image files to design from but can't get a simple A HREF="http://www.site.com/file.file"
to dl. How would I go about fixing this prob?
August 10th, 2000, 05:29 PM
Can you be more specific what can't be downloaded? What are the file extensions? What platform?
August 10th, 2000, 05:33 PM
yah - sorry.
it's .psd 's, .tif 's, etc.
should i zip them and then it will work??
Unix is the server
August 11th, 2000, 12:35 PM
What is happening at the moment when a user clicks on that link? Possibilities:
404 - The image file isn't in the right place or isn't accessible, make sure it's under the doc root and is world readable (and all dirs leading up to it are world executable)
display in browser - The browser thinks it can handle files of this type and so just displays them. You can get around this by specifying a different MIME type for those files in you conf files. Add a line to your httpd.conf file:
AddType image/x-unknown .tif .psd <all your file extensions>
That's a hack, so use it carefully.