Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
ccgi permission
Topic Options
- 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
- :
- ccgi permission
ccgi permission
04-01-2008 12:38 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi there I am new to php and cgi
I have tried a simple php staement embedded in html which echoes some text.
i called the file Hello world.php and successfully uploaded it to my ccgi space.
According to the plus net instructions I should be able to see this space at http://ccgi.username.plus.com but when I try I get http error 403 which apparently means explorer can access this space but does not have permission to view.
I have set the file permission to 755
My file content is;
<html>
<head></head>
<body>These words are static.<br>
<?php
echo 'Hellow World generated by php';
?>
</body>
</html>
I have also created an html file which calls this one:
with the following text
<html>
<head></head>
<body>These wrods are static.<br>
<A HREF="http://ccgi.username.plus.com/Hello World.php">RunScript</A>
</body>
</html>
When I try an run this I get the following error:
CCGI Error: Execution of this script not permitted
Does any one have any ideas what I am doing wrong.
MAny Thanks
Lancashiredave
I have tried a simple php staement embedded in html which echoes some text.
i called the file Hello world.php and successfully uploaded it to my ccgi space.
According to the plus net instructions I should be able to see this space at http://ccgi.username.plus.com but when I try I get http error 403 which apparently means explorer can access this space but does not have permission to view.
I have set the file permission to 755
My file content is;
<html>
<head></head>
<body>These words are static.<br>
<?php
echo 'Hellow World generated by php';
?>
</body>
</html>
I have also created an html file which calls this one:
with the following text
<html>
<head></head>
<body>These wrods are static.<br>
<A HREF="http://ccgi.username.plus.com/Hello World.php">RunScript</A>
</body>
</html>
When I try an run this I get the following error:
CCGI Error: Execution of this script not permitted
Does any one have any ideas what I am doing wrong.
MAny Thanks
Lancashiredave

Message 1 of 7
(1,755 Views)
6 REPLIES 6
Re: ccgi permission
04-01-2008 12:44 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I've just had a quick look into this and have a couple of suggestions.
Try setting both the files to 755 and avoid having spaces in the filenames. TBH I'm not great with php but having a space in a URL can cause some issues.
Try setting both the files to 755 and avoid having spaces in the filenames. TBH I'm not great with php but having a space in a URL can cause some issues.
Former Plusnet Staff member. Posts after 31st Jan 2020 are not on behalf of Plusnet.
Message 2 of 7
(462 Views)
Re: ccgi permission
04-01-2008 12:57 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thanks Chris
That worked a treat
Dave
That worked a treat
Dave

Message 3 of 7
(462 Views)

Not applicable
Re: ccgi permission
04-01-2008 1:20 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Which suggestion worked?
Changing perms to 755, or changing the url? Or both?
Changing perms to 755, or changing the url? Or both?
Message 4 of 7
(462 Views)
Re: ccgi permission
04-01-2008 2:12 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi Chris
Changing the url by removing the space
Dave
Changing the url by removing the space
Dave
Message 5 of 7
(462 Views)
Re: ccgi permission
04-01-2008 3:45 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Also always use lowercase letters for filenames and directory names as this will make it more portable. This is because under Windows hosting fred.php and FRED.PHP are the same file but under Linux/Unix (which PlusNet use) they are separate files. So moving a site from a windows based web server to a *nix one can often not work due to case.
If you want to separate words use - (dash) or _ (underline) e.g.
this-file.php or this_file.php
If you want to separate words use - (dash) or _ (underline) e.g.
this-file.php or this_file.php
Message 6 of 7
(462 Views)
Re: ccgi permission
04-01-2008 4:05 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Good point Peter, I do this automatically when creating sites so always forget to pass the advice on!
Former Plusnet Staff member. Posts after 31st Jan 2020 are not on behalf of Plusnet.
Message 7 of 7
(462 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page