Plans - Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist     RegisterRegister  ProfileProfile   Log inLog in
403 Forbidden

 
Post new topic   Reply to topic    Plans - Forum Forum Index » Problems
View previous topic :: View next topic  
Author Message
harharpuff



Joined: 08 Nov 2006
Posts: 3

PostPosted: Wed Nov 08, 2006    Post subject: 403 Forbidden Reply with quote

I get a "403 Forbidden" when I try to open my calendar at:

http://www.mcan.ca/events/calendar/plans.cgi using Safari.

I'm pretty sure I set the permissions correctly? Obviously something isn't connecting up. Please help.

Dean
Back to top
View user's profile Send private message
daltonlp
Site Admin


Joined: 24 Nov 2003
Posts: 1499

PostPosted: Wed Nov 08, 2006    Post subject: Reply with quote

Quote:
I'm pretty sure I set the permissions correctly?


I dunno Very Happy The error message:

You don't have permission to access /events/calendar/plans.cgi on this server.

appears to state otherwise...

What are the permissions for plans.cgi?

- Lloyd
Back to top
View user's profile Send private message
harharpuff



Joined: 08 Nov 2006
Posts: 3

PostPosted: Wed Nov 08, 2006    Post subject: Reply with quote

plans.cgi is set at 755.

I'm using Fetch to adjust the permissions. Should I try a different permission?

I'm pretty new at this stuff
Back to top
View user's profile Send private message
daltonlp
Site Admin


Joined: 24 Nov 2003
Posts: 1499

PostPosted: Wed Nov 08, 2006    Post subject: Reply with quote

755 should be good. There are a couple other things to check.

* The directory that plans is in ( /events/calendar/ ) - what are its permissions? Some servers need directory permissions to be 777.

* If all the permissions on the filesystem are good, does your webserver need any special permission settings? Webservers like apache can be configured to use the file permissions or explicitly set execute/don't execute rules that override the file permissions.

- Lloyd
Back to top
View user's profile Send private message
harharpuff



Joined: 08 Nov 2006
Posts: 3

PostPosted: Wed Nov 08, 2006    Post subject: CGI-BIN Reply with quote

My server, webserve told me it was necessary to place my folder into my cgi-bin. I don't understand why. But it seems any cgi files need to be accessed that way. This might not be a bad note to mention to others. Perhaps you have already and I missed that somehow?
Back to top
View user's profile Send private message
daltonlp
Site Admin


Joined: 24 Nov 2003
Posts: 1499

PostPosted: Wed Nov 08, 2006    Post subject: Reply with quote

There's a fair amount of text written in both the documentation and the comments inside plans_config.pl about this type of setup, and the extra hoops you'll need to jump through because of it.

You'll need to place the theme/ directory in a spot outside cgi-bin and change some settings in plans_config.pl

The "cgi-bin" convention is kind of a relic from the early days of web hosting. It adds no security, and creates many headaches for people trying to run web applications (like Plans). It's too bad your host can't do better.

- Lloyd
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Plans - Forum Forum Index -> Problems All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group / Oranja by Lessthaneric.net