Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache and Perl(WINDOWS) |
|
Author |
|
KuraKai
Joined: 09 Nov 2007 Posts: 12
|
Posted: Wed 21 Nov '07 19:55 Post subject: Apache and Perl(WINDOWS) |
|
|
Ok I have enabled CGI scripting on my apache server, the one where you enable the alias for the cgi-bin folder and such. So it is not directly where you place you web files and such. But it takes it to literal everything in the folder it tried to run with perl. For example the tool FileMan which is free was installed with no problems, but when I run it I noticed that everything that it tried to call other then a script, like an image or something, turns around and comes up with a blank for that spot. When I use my browser and point directly at the file it sits there doing nothing pretty much. When I look in the logs for apache it tells me that it is having issues along this line. Does anyone have a fix for this? |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
Posted: Wed 21 Nov '07 22:38 Post subject: |
|
|
put your images in for instance htdocs or set up a different cgi-bin a way other than using scriptalias.
As per Apache Docs, "The ScriptAlias directive tells Apache that a particular directory is set aside for CGI programs. Apache will assume that every file in this directory is a CGI program, and will attempt to execute it, when that particular resource is requested by a client.
One could just use an "Alias" to the cgi-bin directory and just allow cgi using
Options ExecCGI .. this will allow things that are not cgi files to show as they should. |
|
Back to top |
|
|
|
|
|
|