SunQuest
           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:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old July 16th, 2001, 06:10 AM
kojr kojr is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Posts: 51 kojr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
put images in the cgi-bin

Win2000+perl+apache
Just any configuaration should made on httpd.conf
so that image in cgi-bin is viewable..

weiring question right

Thank for any answer..

Reply With Quote
  #2  
Old July 16th, 2001, 10:25 AM
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
Uncomment the line ScriptAlias. If you don't have Options ExecCGI enabled in your docroot directory, re-enable that to your cgi-bin directory. Say your docroot is /www/htdocs, your cgi-bin directory should now be /www/htdocs/cgi-bin. Then do the following:

<Directory "/www/htdocs/cgi-bin">
AllowOverride None
Options +ExecCGI
Order allow,deny
Allow from all
</Directory>

You do not need to redefine any other options as they are inherited from your docroot.

For security reasons, you should ScriptAlias your cgi-bin or at least move it outside your docroot to a path like: /www/cgi-bin (not under your docroot), then set Alias /cgi-bin/ "/www/cgi-bin/". If you choose this way, you have to make some changes to the appropriate <Directory> block:

<Directory "/www/cgi-bin">
AllowOverride None
Options All
Order allow, deny
Allow from all
</Directory>

Reply With Quote
  #3  
Old July 16th, 2001, 06:38 PM
kojr kojr is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Posts: 51 kojr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
1.This is my current setting and you can notice that my cgi-bin is reside at C:/Program Files/Apache Group/Apache/cgi-bin/

_____________________________________
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache/cgi-bin/"

<Directory "C:/Program Files/Apache Group/Apache/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>


2.Sorry for my poor unstanding and you meant I should change to just options none to options all

_________________________________________
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache/cgi-bin/"

<Directory "C:/Program Files/Apache Group/Apache/cgi-bin">
AllowOverride None
Options all
Order allow,deny
Allow from all
</Directory>

3.And that is it? or something else?

Reply With Quote
  #4  
Old July 17th, 2001, 05:31 AM
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
Sorry, I forgot to mention an important statement: If you wanted to view images under cgi-bin directory, you must not ScriptAlias your cgi-bin.

That's why I told you Uncomment the line ScriptAlias in the very beginning of my previous message. After you have uncommented that line, reread my previous post.

Reply With Quote
  #5  
Old July 17th, 2001, 05:41 AM
kojr kojr is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Posts: 51 kojr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
ok

Yes I know what you meant now...

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > put images in the 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 2 hosted by Hostway