Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Forms, php, CGI and Netobjects 10
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
- :
- Forms, php, CGI and Netobjects 10
Forms, php, CGI and Netobjects 10
10-09-2007 4:22 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi,
I'm totally confused trying to get a Contact page to work on my website. I've activated CGI space and read all I can find on the forums and PN help pages about CGI but alas there seems to be assumptions made about the way to start.....
PN says put the php pages in the CGI space, not in the CGI folder; so does the rest of the website remain in my usual PN htdocs? If so how is it referenced by the Contact button and how does a browser access two servers at the same time?
One tutorial on PN tells me to build my website in the CGI space which I've done and the ContactForm appears to function correctly but another tutorial tells me not to put a full website into the CGI space... so where?
NetObjects generates the php pages and talks about a CCGI Alias but doesn't appear to do anything with the info and puts the php pages in its usual html folder and PN won't allow php to run from its htdocs folder.
Apologies for a bit of a ramble but if anybody can point me in the right direction I'll be grateful.
Cheers.
I'm totally confused trying to get a Contact page to work on my website. I've activated CGI space and read all I can find on the forums and PN help pages about CGI but alas there seems to be assumptions made about the way to start.....
PN says put the php pages in the CGI space, not in the CGI folder; so does the rest of the website remain in my usual PN htdocs? If so how is it referenced by the Contact button and how does a browser access two servers at the same time?
One tutorial on PN tells me to build my website in the CGI space which I've done and the ContactForm appears to function correctly but another tutorial tells me not to put a full website into the CGI space... so where?
NetObjects generates the php pages and talks about a CCGI Alias but doesn't appear to do anything with the info and puts the php pages in its usual html folder and PN won't allow php to run from its htdocs folder.
Apologies for a bit of a ramble but if anybody can point me in the right direction I'll be grateful.
Cheers.
Message 1 of 3
(2,664 Views)
2 REPLIES 2
Re: Forms, php, CGI and Netobjects 10
10-09-2007 4:39 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
First, forget about the text that says don't put your whole site on the ccgi - its old and refers to the previous CGI webserver hardware which was replaced with much faster kit some time ago. Running your website on the ccgi is fine.
As you are dealing with php files forget about your www or homepages webspace, only use ccgi.
You should be using ccgi.plus.net or ccgi.username.plus.com and associated portal password for your FTP settings.
The ccgi webspace does not have any other folders like htdocs (except cgi-bin see below). Your home directory (root folder) where you can publish your web pages is the folder that FTP connects to. You can create folders if you want to to put files into but ccgi.username.plus.com looks in your root folder. The only folder you must not put php files in is cgi-bin.
Finally permissions of php files are important. They should be set to 750 (rwxr-x---) using chmod or you can log into yor cshell prompt (telnet cshell.plus.net) and run the fixphpperms.sh -r command.
As you are dealing with php files forget about your www or homepages webspace, only use ccgi.
You should be using ccgi.plus.net or ccgi.username.plus.com and associated portal password for your FTP settings.
The ccgi webspace does not have any other folders like htdocs (except cgi-bin see below). Your home directory (root folder) where you can publish your web pages is the folder that FTP connects to. You can create folders if you want to to put files into but ccgi.username.plus.com looks in your root folder. The only folder you must not put php files in is cgi-bin.
Finally permissions of php files are important. They should be set to 750 (rwxr-x---) using chmod or you can log into yor cshell prompt (telnet cshell.plus.net) and run the fixphpperms.sh -r command.
Message 2 of 3
(454 Views)
Re: Forms, php, CGI and Netobjects 10
10-09-2007 4:47 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Peter,
thanks a million for the response. Problems sorted. Conflicting information was the problem.
Simple when you know how!!
Cheers,
EbS
thanks a million for the response. Problems sorted. Conflicting information was the problem.
Simple when you know how!!
Cheers,
EbS
Message 3 of 3
(454 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
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Forms, php, CGI and Netobjects 10