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

Internal Server Error

Quote Reply
Internal Server Error
Hi,

Trying to install this "links 2.0" and its my first time with perl or cgi. Im used to HTML, Java vrml etc... the easy stuff :D

Any ideas what could be wrong? If you need more info then let me know and I will post.
Oh, and how do I password protect the admin directory?

McPhilly

Quote Reply
Re: Internal Server Error In reply to
Your going to have to give more info than that.

What script gave the error?


Oh, and how do I password protect the admin directory?

You either visit one of the sites listed in the resources center, or you could simply search the forum which will bring up numerous posts on password protecting the admin directory.


Glenn

Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml
Quote Reply
Re: Internal Server Error In reply to
Ok, im at your site (very good might I add :D).
anyway, do I have to create a file called password.txt? Because I can't find one anywhere.
And it doesn't ask me to login.

The script is admin.cgi I am trying to access it in my browser, but it comes up internal error.

McPhilly

Quote Reply
Re: Internal Server Error In reply to
I would make sure links/admin.cgi is running properly first before installing mods!

By searching the forum you'll find these posts on it:

http://www.gossamer-threads.com/perl/forum/showflat.pl?Cat=&Board=L2Win&Number=83420&page=&view=&sb=&vc=1

http://www.gossamer-threads.com/perl/forum/showflat.pl?Cat=&Board=L2Win&Number=95302&page=&view=&sb=&vc=1

http://www.gossamer-threads.com/perl/forum/showflat.pl?Cat=&Board=L2Win&Number=108350&page=&view=&sb=&vc=1




Glenn

Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml
Quote Reply
Re: Internal Server Error In reply to
hmm... I think im in over my head.

Why is it they are saying point to C:\ etc when it is on the web?
And is there a perl.exe?
im very confused now.

McPhilly

Quote Reply
Re: Internal Server Error In reply to
Because you install it on windows you need to change the path to perl at the top of every cgi script to the path it is on your server.

Something like:

#! c:\perl\bin\perl.exe

Your service provider should know the path.

Glenn

Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml
Quote Reply
Re: Internal Server Error In reply to
The perl exucatable.

If so then they said:

/usr/bin/perl

And that was that.

McPhilly

Quote Reply
Re: Internal Server Error In reply to
By that I take it you mean:

#!/usr/bin/perl

Check out this post (again all can be found by searching the forum.):
http://www.gossamer-threads.com/perl/forum/showflat.pl?Cat=&Board=L2Win&Number=108350&page=&view=&sb=&vc=1

If your path to perl is correct then

check your paths in links.cfg





Glenn

Links 2 Mods Site:
http://cgi-resource.co.uk/pages/links2mods.shtml
Quote Reply
Re: Internal Server Error In reply to
On Windows you don't use

#! c:\perl\bin\perl.exe

..it is....

#! c:/perl/bin/perl.exe



Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/

Quote Reply
Re: Internal Server Error In reply to
It doesn't matter, really. The path to Perl is present in memory. the shebang (#!/usr/local/bin/perl) is only used on unix servers.

How do I know it doesn't matter? I often don't include it at all or leave the path to perl where it is on my web sites when working on them offline on my WinMe computer as 'localhost'...

--Drew
Free, hot camel soup for Links hackers...
http://www.camelsoup.com
Quote Reply
Re: Internal Server Error In reply to
I got it working :)

Thanks guys, help is much appreciated.

On to the next stage of the site.

McPhilly