Some Newbie cgi/php questions
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Some Newbie cgi/php questions
Some Newbie cgi/php questions
17-05-2010 11:52 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I've never used CGI or PHP before and I'm looking for some guidance as I need to support a CGI/PHP application
1) I've enable CGI and SQL on my account.
2) Using IE I've FTP files up to a test folder on ftp://cshell.plus.net under my account name.
3) Very simple "hello world" script in PHP
4) This resulted in Server 500 error when I accessed it via http://ccgi.myname.plus.com. A bit of research indicated a permissions problem so I set the permission on the file and folder to be owner rwx, group r_x, user r_x. This now works.
Q1) Are these the right permissions?
Q2)By setting the permission on the folder it does not appear that they are inherited by files I subsequently place there. As the application uses lots of PHP files is there any way to do a bulk replace of permission? IE will only do one at a time!
Q3) When I get this working is there any way to map ccgi.myname.plus.com to mydomain.co.uk?
Thanks in advance
Mark
Re: Some Newbie cgi/php questions
17-05-2010 1:00 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Q1 I'd encourage you to use the permissions suggested in section 6 of the FAQ.
Q2 There's a script linked from section 6 of the FAQ that will set permissions for you.
Q3 Is yourdomain.co.uk hosted by Plusnet?
Gabe
Re: Some Newbie cgi/php questions
17-05-2010 1:24 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thanks for the pointer to the script. I'll see if I can get it to work.
As for Q3, yes the domain name is hosted by plusnet.
Mark
Re: Some Newbie cgi/php questions
17-05-2010 2:34 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Gabe
Re: Some Newbie cgi/php questions
17-05-2010 2:57 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: Some Newbie cgi/php questions
17-05-2010 3:09 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
ccgi.yourdomain.co.uk. a 84.92.1.4
remembering the dot after the uk.
If you want everything under the www subdomain then you would have to move your content from homepages to ccgi and replace the records pointing at homepages.
Gabe
Re: Some Newbie cgi/php questions
17-05-2010 3:28 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I understand now. I take it 84.92.1.4 is the IP of the CGI server?
Mark
Re: Some Newbie cgi/php questions
17-05-2010 3:37 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I guess the other thing to mention would be that it can take a while for record changes to propagate.
Gabe
Re: Some Newbie cgi/php questions
17-05-2010 3:45 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Is there any way I can upload to the CGI server without being connected via a Plusnet connection?
Oops thats two questions and I've already asked it

Re: Some Newbie cgi/php questions
17-05-2010 3:54 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Yes: you can ask another question.

No: you have to be connected to Plusnet.
jelv (a.k.a Spoon Whittler) Why I have left Plusnet (warning: long post!) Broadband: Andrews & Arnold Home::1 (FTTC 80/20) Line rental: Pulse 8 Home Line Rental (£14.40/month) Mobile: iD mobile (£4/month) |
Re: Some Newbie cgi/php questions
17-05-2010 4:00 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator

Anyway thanks for all your help
Mark
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Some Newbie cgi/php questions