View Full Version : YaBB on an NT server.
cheatpark
December 15th, 2001, 21:01
Is this possible? If so can someone explain to me how to do it.
MN-Carl
December 15th, 2001, 23:47
Steps
1. Make sure you download the .cgi version
2. Change the path to perl to suit your host
3. Upload ALL files
4. Install ( i think )
5. Run
cheatpark
December 16th, 2001, 13:06
ok. I'll try that. Thanks.
niv
December 16th, 2001, 13:13
You can always use the pl version on a WinNT server.
cheatpark
December 16th, 2001, 14:29
I think that the problem is that my cgi-bin is not working properly. Anyone know a very simple script which I can use to see if it works?
andyLee
December 19th, 2001, 02:48
On NT server, you CANNOT chmod yourself!!!! So, after install, email your server admin to do that.
OR,
Put all the thing direct under cgi-bin, that it should chmod by the admin already.
ExoWorks
December 19th, 2001, 06:12
If it give an error saying :
CGI ERROR :-
The cgi application misbehaced by not returning a complete sets of HTTP header. The header it returned are :
Then, you must include the following line after the #!C:/Perl/bin/ line.
printf ("HTTP/1.0 200 OK\n");
printf ("Content-type: text/html \n\n");
This is the headers to run a cgi script on a Windows server from MICROSOFT.
If you typed the URL to cgi file but it never loads, then you must change the extension if cgi to pl, or if pl then to cgi. If then also it won't work, ask your system admin to add the extension to the registery if running pws or iis or to add to the httpd.conf if running Apache.
You must CHMOD a cgi file if the HDD is NTFS. You can't CHMOD a file if the web server is running a HDD or a partition of HDD which is not under control of NTFS.
You don't need to Chmod a file usually on a Windows server.
You don't need to Chmod a file on a FAT32 or FAT HDD.
If you still want to check if CHMOD works or not. You might have tried to CHMOD a file using an FTP client.
Try to test it by IE :-
here is the procedure to CHMOD a file in IE :-
type : ftp://username: password@sitesftp.com
Then right click the file you want to Chmod, if there is an option to change attributes check all the fields provided. It will CHMOD the file to 777.
If its written "This server doesnot supports changing of Attributes". Then the server is a FAT 32 or FAT server and you can't CHMOD anything, even the ADMIN cant CHMOD. It will work without CHMOD.
If you receive the cgi files as text in the browser, then ask your system admin to enable the EXECUTION of scripts in the cgi-bin directory. It can't work if the EXECUTE is unchecked.
I don't have any other problem in mind right now. These are the very common problems on a windows server.
Please give the URL, to let all the people here get more information about the problem caused. :rolleyes:
ExoWorks
December 19th, 2001, 06:17
Here is the simplest code to check if CGI is working properly.
#!C:/Perl/bin
printf ("HTTP/1.0 200 OK\n");
printf ("Content-type: text/html \n\n");
print ("Hello, World");
Change #!C:/Perl/bin according to your servers Perl Path.
cheatpark
December 20th, 2001, 11:42
I put it into a cgi-bin and the following error comes up:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
Can't locate D:hostingSrv4283jeatpark.neti-binyabb/Sources/Subs.pl in @INC (@INC contains: c:/Perl/lib c:/Perl/site/lib . D:/hosting/usrv4283j/cheatpark.net/cgi-bin/yabb) at D:\hosting\usrv4283j\cheatpark.net\cgi-bin\yabb\YaBB.cgi line 37.
andyLee
December 21st, 2001, 01:48
put the code under /cgi-bin directly other than /cgi-bin/yaBB
your server admin usually set
/cgi-bin with full access
however the folder under it is not.
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.