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:
  #1  
Old November 8th, 2001, 02:56 PM
Kimppa Kimppa is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2001
Location: Finland
Posts: 706 Kimppa User rank is Sergeant (500 - 2000 Reputation Level)Kimppa User rank is Sergeant (500 - 2000 Reputation Level)Kimppa User rank is Sergeant (500 - 2000 Reputation Level)Kimppa User rank is Sergeant (500 - 2000 Reputation Level)Kimppa User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 Days 18 h 5 m 46 sec
Reputation Power: 15
Images in cgi-bin

Images that are in the cgi-bin folder won't load. How do I configure Apache so that it accepts (it will load) images that are located in the cgi-bin folder? Is it even possible?

- Kimppa

PS. I'm using win98 :-(
__________________
Fatal error on row 561: Couldn't access life - life isn't set

Reply With Quote
  #2  
Old November 8th, 2001, 03:00 PM
Kimppa Kimppa is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2001
Location: Finland
Posts: 706 Kimppa User rank is Sergeant (500 - 2000 Reputation Level)Kimppa User rank is Sergeant (500 - 2000 Reputation Level)Kimppa User rank is Sergeant (500 - 2000 Reputation Level)Kimppa User rank is Sergeant (500 - 2000 Reputation Level)Kimppa User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 Days 18 h 5 m 46 sec
Reputation Power: 15
*looks at the massive "spam" threads*
Hmm... don't know why that happened. I'm not even able to delete those empty posts.

*apologizes*

Reply With Quote
  #3  
Old November 8th, 2001, 05:04 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
First off, when it comes to Apache on win32, I don't know anything.

A ScriptAlias'ed cgi-bin may contain true CGI scripts, no image, no .htaccess, no php, no html files.

You have two options:

1) Do not ScriptAlias your cgi-bin
2) Relocate your image files elsewhere like /images directory and use absolute URI path in your script like so:
<img src="/images/logo.gif"> instead of relative path to your cgi-bin like <img src="images/logo.gif">

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Images in cgi-bin


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 5 hosted by Hostway