Previous Thread
Next Thread
Print Thread
Hop To
#164879 05/16/2006 3:47 PM
Joined: Nov 2005
Posts: 3
N
stranger
stranger
N Offline
Joined: Nov 2005
Posts: 3
I am doing a clean install of UBB classic bulletin board on Windows 2003 Server, with IIS 6. Install seemed to work, but control panel giving error.
Installed Active Perl 5.8x
Installed UBB Classic 6.7.3
Created VirDir for UBB with cgi-bin folder under it
Extracted files per UBB documentation
Can see vars_*.cgi files in UBB path:
PathUBBredacted \UBB\cgi-bin
Open the control panel by sitenameRedacted[/i]/cgi-bin/cp.pl]http://sitenameRedacted[/i]/cgi-bin/cp.pl, and above path is shown as variables path.
However, when I click next, I get a Page Cannot Be Found Error.
In my IIS logs the error code is 404.2, which is Web service extension lockdown policy prevents this request.
In ISM, Web Service Extension has Perl CGI Extension allowed. Required files tab show it at the root where Perl is installed:
[i]PathPerl redacted\Perl\bin\perl.exe "%s" %s
Perl ISAPI and PerlEx ISAPI are prohibited; but I tried allowing them and it made no difference.
Is all that correct so far? Or should the UBB cgi bin be in the cge extension list as well?
Thanks for any help offered!

#164880 05/16/2006 8:21 PM
Joined: Dec 2003
Posts: 1,798
Likes: 2
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,798
Likes: 2
Do you mean cp.cgi? Or did you rename the file cp.pl? That could very well be the problem if so.

Did you give the servername_everyone full permissions?


- Allen
- ThreadsDev | PraiseCafe
#164881 05/17/2006 1:53 PM
Joined: Nov 2005
Posts: 3
N
stranger
stranger
N Offline
Joined: Nov 2005
Posts: 3
You've hit upon the problem! *Somewhere* (not UBB) I had read that you should change all your .cgi extensions to .pl for security. I had only changed the cp.cgi.
But if I change cp.pl back to cp.cgi now, I can't even see the first page of the control panel. If I change it back to cp.pl I can see the first page, but not subsequent. Would you suggest I change all .cgi entenstions to .pl, or find out where I have something set to allow me to see .pl but not cgi?
Thanks for helping this newbie!

#164882 05/17/2006 9:35 PM
Joined: Dec 2003
Posts: 1,798
Likes: 2
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,798
Likes: 2
You need to make sure cgi is mapped to perl and permissions are set as in the docs on the files and folders containing the files.

I'm not sure how changing the extension to .pl will make the script more secure, but modifying the files like that *does* make your forum installation unsupported by groupee.
The best way to make sure your site is secure is to keep your software updated (IIS, perl, php and forum scripts) with the latest stable code.

Make sure servername_everyone has full permissions on the noncgi and the variables directories - it's been a while since I ran classic on a windows server, but it can do a great job if setup right <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />


- Allen
- ThreadsDev | PraiseCafe
#164883 05/18/2006 9:37 AM
Joined: Nov 2005
Posts: 3
N
stranger
stranger
N Offline
Joined: Nov 2005
Posts: 3
I think what I will do is uninstall Perl and UBB and start over using just the UBB notes. I knew NOTHING about perl when I started the install so I was using some non-UBB documentation that I think confused me! Thanks for all you help Allen you saved me alot of frustration!

#164884 05/21/2006 9:38 PM
Joined: Dec 2003
Posts: 1,798
Likes: 2
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,798
Likes: 2
You're welcome, and I hope so <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />


- Allen
- ThreadsDev | PraiseCafe

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Slow Queries - Any Ideas?
by BellaOnline - 10/16/2026 4:34 PM
Selling a Forum?
by ECNet - 10/10/2026 10:54 AM
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Who's Online Now
0 members (), 233 guests, and 95 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)