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

Building Pages - CGI error - Permission denied

Quote Reply
Building Pages - CGI error - Permission denied
The cfg line is:

$build_root_path = "D:\\home\\nt16f171\\pages\\";

I'm not sure of the right format for NT - I've tried a few.

Thanks!


THe output on the browser is:

** Creating Home Page . . .
Subcategories: 3
Total Links: 1
Opening page: D:\home\nt16f171\pages/index.html

CGI ERROR
==========================================
Error Message : unable to open home page: D:\home\nt16f171\pages/index.html. Reason: Permission denied
Script Location : D:\home\nt16f171\cgi-bin\links\nph-build.cgi
Perl Version : 5.00503

Form Variables
-------------------------------------------
auto : 1
staggered : 1
step : 4

Environment Variables
-------------------------------------------
COMPUTERNAME : NT16
COMSPEC : C:\WINNT\system32\cmd.exe
CONTENT_LENGTH : 0
GATEWAY_INTERFACE : CGI/1.1
HTTPS : off
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/msword, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/x-comet, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : .......com
HTTP_REFERER : http://......com/cgi-bin/links/admin.cgi
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; WWIND)
INCLUDE : C:\Program Files\Mts\Include
INSTANCE_ID : 171
LIB : C:\Program Files\Mts\Lib
LOCAL_ADDR : 216....
NTRESKIT : C:\NTRESKIT
NUMBER_OF_PROCESSORS: 1
OS : Windows_NT
OS2LIBPATH : C:\WINNT\system32\os2\dll;
PATH : C:\Perl\bin;C:\WINNT\system32;C:\WINNT;C:\NTRESKIT;C:\NTRESKIT\Perl;C:\Program Files\Mts;C:\Program Files\Symantec\pcAnywhere
PATHEXT : .COM;.EXE;.BAT;.CMD;.VBS;.JS
PATH_INFO : /cgi-bin/links/nph-build.cgi
PATH_TRANSLATED : D:\home\nt16f171\cgi-bin\links\nph-build.cgi
PROCESSOR_ARCHITECTURE: x86
PROCESSOR_IDENTIFIER: x86 Family 6 Model 3 Stepping 3, GenuineIntel
PROCESSOR_LEVEL : 6
PROCESSOR_REVISION : 0303
QUERY_STRING : staggered=1&step=4&auto=1
REMOTE_ADDR : 151.200.21.68
REMOTE_HOST : 151.200.21.68
REQUEST_METHOD : GET
SCRIPT_NAME : /cgi-bin/links/nph-build.cgi
SERVER_NAME : ........com
SERVER_PORT : 80
SERVER_PORT_SECURE : 0
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Microsoft-IIS/4.0
SYSTEMDRIVE : C:
SYSTEMROOT : C:\WINNT
USERPROFILE : C:\WINNT\Profiles\Default User
WINDIR : C:\WINNT



Quote Reply
Re: Building Pages - CGI error - Permission denied In reply to
The error is not with your directory path structure, but with the permission of your index.html file and the directory where this file resides. They both need to have Read, Write, Modify (if you on Windows 2000), Execute, and Delete permissions.

Regards,

Eliot Lee

Quote Reply
Re: Building Pages - CGI error - Permission denied In reply to
Thanks. I have a shared NT hosting account, and cannot telnet in. Any tips on how to change the permissions (it fails when my ftp program tries CHGMOD)?





Quote Reply
Re: Building Pages - CGI error - Permission denied In reply to
If you have "physical" access via NT Explorer or through the NT Resource Kit, you can change the permissions of files and directories via the Properties option. If you do not have physical access and your hosting company has turned on permission edits via FTP, then you can use a variety of FTP programs to change permissions of files and directories. If your hosting company has this option turned off, then you need to contact your hosting company and ask them to change permissions for you!

Regards,

Eliot Lee