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

Can't open admin.pl

Quote Reply
Can't open admin.pl
I'm trying to get Links going under Apache running on a Novell server.

(Perl on Novell requires the .pl extension, so I changed all .cgi files to .pl's and went through the scripts themselves to make sure calls to .cgi were changed to .pl - just like I used to have to do for problematic NT installs).

Everything looks ok to me as far as permissions and paths go, but when I try to open admin.pl I get this error: "Can't open perl script "admin.pl": No such file or directory"

However since it starts reading the header before it displays this message, I know it's seeing the file - if it were truly not finding the file I'd get a straight 404 error from the server.

I have a script that shows me the environment variables running ok. The path it shows says this:
REQUEST_URI="/cgi-bin/links/admin/printenv.pl"
SCRIPT_FILENAME="sys:/perl/scripts/links/admin/printenv.pl"

The path setup in links.cfg looks like this:
$db_script_path = "sys:/perl/scripts/links/admin";
$db_dir_url = "http://g17nw/cgi-bin/links/admin";
and
$db_cgi_url = "http://g17nw/cgi-bin/links";

Apache has the cgi-bin set up as follows:

ScriptAlias /cgi-bin/ "sys:/perl/scripts/"
<Directory "sys:/perl/scripts/">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>

The permissions for user "public" are currently full (777 equivalent) for the links dir and everything beneath it, as well as the dir where Links will build the web pages.

Any suggestions on what's causing this? Thanks in advance.

Bobb Menk
bmenk@ll.mit.edu

Subject Author Views Date
Thread Can't open admin.pl Bobb Menk 3959 Jun 6, 2001, 5:35 AM
Thread Re: Can't open admin.pl
Paul 3863 Jun 6, 2001, 8:14 AM
Post Re: Can't open admin.pl
Bobb Menk 3862 Jun 6, 2001, 8:20 AM
Thread Re: Can't open admin.pl
Stealth 3848 Jun 6, 2001, 10:11 AM
Post Re: Can't open admin.pl
Bobb Menk 3843 Jun 6, 2001, 10:50 AM