Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old August 10th, 2000, 03:49 PM
master ken master ken is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Location: MO, US
Posts: 119 master ken User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Send a message via AIM to master ken Send a message via Yahoo to master ken
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?

Reply With Quote
  #2  
Old August 10th, 2000, 04:29 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Can you be more specific what can't be downloaded? What are the file extensions? What platform?

Reply With Quote
  #3  
Old August 10th, 2000, 04:33 PM
master ken master ken is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Location: MO, US
Posts: 119 master ken User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Send a message via AIM to master ken Send a message via Yahoo to master ken
yah - sorry.
it's .psd 's, .tif 's, etc.
should i zip them and then it will work??
Unix is the server

Reply With Quote
  #4  
Old August 11th, 2000, 11:35 AM
christucker2 christucker2 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Posts: 81 christucker2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Enabling clients to dl files from my Apache (legal)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway