#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Location
    MO, US
    Posts
    119
    Rep Power
    14
    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?
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    Can you be more specific what can't be downloaded? What are the file extensions? What platform?
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Location
    MO, US
    Posts
    119
    Rep Power
    14
    yah - sorry.
    it's .psd 's, .tif 's, etc.
    should i zip them and then it will work??
    Unix is the server
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Posts
    81
    Rep Power
    14
    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.

IMN logo majestic logo threadwatch logo seochat tools logo