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:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old January 25th, 2001, 07:40 AM
vvo vvo is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 2 vvo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi all,
I'm very new to Apache.
My config: NT4 with SP6, Apache 1.3.14, MySQL 3.23, PHP4, ActivePerl.

Apache, PHP and MySQL are running fine.
Now I trying to get Perl actived. I have a script installed in the cgi-bin directory, extension .CGI. The program works. However there's also a style.css file which is located inside the cgi-bin directory and some images.

Can I configure Apache so that it is allowed to have documents inside the cgi-bin?

Johan
URL

Reply With Quote
  #2  
Old February 2nd, 2001, 07:58 PM
swoo7 swoo7 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 1 swoo7 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
ran into a similar issue with perl scripts in a scriptalias directory. Everything in it and in the subdirs where treated as cgi executables. The solution is to create a directory which is an alias for cgi-bin -- not scriptalias.
Then use: AddType application/x-httpd-cgi .cgi to direct the cgi handler in Apache to execute any .cgi (or .pl) script leaving everything else alone. Hope this helped.

Reply With Quote
  #3  
Old February 3rd, 2001, 04:09 AM
vvo vvo is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 2 vvo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up Thanks!

Yep that did the trick. It's working now!

Johan.

Reply With Quote
Reply

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


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