Gossamer Forum
Home : Products : Links 2.0 : Installation -- Windows :

error http 500 when using cgi file

Quote Reply
error http 500 when using cgi file
Hi all!

Since I have reinstalled my windows98, perl from activestate and pws,
my site doesn't work whereas it works very well before.
I always a http 500 error when i call a cgi file.
Please help me!!
Thanks.
A french guy somewhere in france ...
Quote Reply
Re: error http 500 when using cgi file In reply to
Did you install Perl in the same directory and drive you did before? If not, then you need to update your registry and also the Perl path you are using in your .cgi scripts.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.
Quote Reply
Re: error http 500 when using cgi file In reply to
First of all : thanks man for reply to my message.
I've checked and it's the same path (c:\perl)
and all my scripts have for first line: !perl
I've also try to convert all scripts from unix format to dos ... and it doesn't work anyway...argh!!
Why it doesn't work!! It gets on my nerves...
If you have another idea plz tell me!



------------------
Quote Reply
Re: error http 500 when using cgi file In reply to
Make sure that you have set the following variable to 1:

Code:
$db_iis = 1;

in the links.cfg file. While you are not using IIS, this works for Windows based servers.

That is the only thing I can think of for now.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.
Quote Reply
Re: error http 500 when using cgi file In reply to
I've try many things and it still doesn't work ...
Could you tell me, please, if there is another web serveur running under windows ?
Thx.

------------------
Quote Reply
Re: error http 500 when using cgi file In reply to
PWS sucks for interactive .cgi and .pl scripts.

You should use Apache for Windows, which can be downloaded from the Apache Web Site:

www.apache.org

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.
Quote Reply
Re: error http 500 when using cgi file In reply to
Thanks guy! and thanks apache 8)
You've right : with apache it's ok
But I had to turn off the var $db_use_flock.
Are there inconveniences (is it because I'm under win..)?

Big thanks again man for your help and your fast replys !
( and sorry for my english... Wink )



Quote Reply
Re: error http 500 when using cgi file In reply to
 
Quote:
Are there inconveniences (is it because I'm under win..)?

With the stand alone server...NO..But when you upload the files to a live Internet server...you will need to set the flocking variable to 1 because you will be having more than one user access your database files at a time.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.