View Full Version : Forbidden Error
MysticHealer
08-07-2001, 02:36 AM
Every CGI file I upload, when I try to go to it, it says forbidden. With everything I upload do I have to CHMOD it to 777 for public view?
finalendeavor
08-07-2001, 04:17 PM
every cgi I've ever used has had to be CHMOD'd to 755
read/write files (like flat db files) are generally 666 -eek-
and php files are usually 747'd (depending on the servers software & level of security... 747 for those with su-exec installed, which creates some kind of cgi wrapper which is all very confusing to a non-server person like me, but hey it works!)
Hope I didn't confuse you too much :)
MysticHealer
08-07-2001, 06:32 PM
Your a non server person? You lost me at the word
every
finalendeavor
08-07-2001, 06:49 PM
-hah- Sorry Mystic, and yes, I'm Not a server person, but since I work with stuff like this every day I guess I've picked up a few things. ;)
uhm...Yes, CHMOD your cgi (.pl file?) to 755
And as long as any information you had to plug into the cgi is correct (I always have problems with paths) everything should be fine.
Question, what is this cgi you're using for?
You know, that some cgi's can't be called upon right in the browser, you need to feed it information, via a form or some such.
Darin
08-07-2001, 07:11 PM
One other very important thing. Make sure you are uploading in ASCII mode. That is for the scripts which ask you to do so. Most of them do...
MysticHealer
08-07-2001, 10:35 PM
Im using this for my UBB im installing. Thanx
Darin
08-07-2001, 11:26 PM
That's the good thing about vBulletin. Just upload the files, create the database, and you are ready to go. No troubles for those who don't know what to do with CGI files. I hate CGI scripts... the same ones with better functions are available in PHP.
finalendeavor
08-08-2001, 01:06 AM
I agree, php is great, even for someone like me, it's not that hard to figure it out at all. I just installed xmb on my site, was so easy it was down right joyful (thanks to the creator putting in a small install file).
And I've tried a few php scripts based on perl scripts and they do seem to work faster...though it could be imagination and enthusiasm for something new.
ascii ...good point, I just have cuteftp take care off all that.
Mystic, just remember, the rule of thumb..
cgi / pl -- 755
php / asp? -- 747
files used by the scripts (writable) -- 666
that usually gets things working for me. :)
MysticHealer
08-08-2001, 01:42 AM
I really like to test skills.. UBB is an easy way to do that. You have to install hacks and if they turn out (it can either go good or bad, no inbetween) then you have a cool little diddy that you have FULL control over in every way. It also teaches you a little something about CGI
I also find that I get more control with a UBB. PHP boards might have the same features but I feel that I get all control and I like that feeling (Im a power happy person)
Darin
08-08-2001, 03:10 AM
vBulletin has tons more features and it's better to learn PHP now. CGI is still used widely, but the numbers of PHP usage are growing dramatically every month. vBulletin has over 100 hacks, which you can install also. UBB costs more, takes tons more resources, so don't be surprised if your account gets suspended for using too much resources.
vBulletin runs much faster, since PHP & MySQL were made for each other and it takes so much less resources and it does so much more than UBB. Trust me, I've been a vB happy user for over 7 months. http://forums.hostrocket.com/images/icons/icon10.gif
vBulletin® v3.7.0, Copyright ©2000-2010, Jelsoft Enterprises Ltd.