|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
Yep that did the trick. It's working now!
Johan. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Documents in cgi-bin directory |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|