Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Where to place Perl scripts
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
- :
- Where to place Perl scripts
Where to place Perl scripts
06-03-2014 6:55 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Theres a /cgi-bin folder
Theres also a /public/CGI-BIN folder
The FAQ says:
[perl scripts] will need to be in the ‘cgi-bin’ folder on the new CGI platform. On the current platform, perl scripts will work outside of the cgi-bin folder. These scripts are likely to break after the migration – so you’re advised to move them
So as it specifically hasnt capitalised the cgi-bin, can I assume its the /cgi-bin folder in the root? And not the /public/CGI-BIN folder?
Theres also a /public/CGI-BIN folder
The FAQ says:
[perl scripts] will need to be in the ‘cgi-bin’ folder on the new CGI platform. On the current platform, perl scripts will work outside of the cgi-bin folder. These scripts are likely to break after the migration – so you’re advised to move them
So as it specifically hasnt capitalised the cgi-bin, can I assume its the /cgi-bin folder in the root? And not the /public/CGI-BIN folder?
Message 1 of 2
(879 Views)
1 REPLY 1
Re: Where to place Perl scripts
07-03-2014 1:17 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
There is an .htaccess file in the root directory of most customer's webspace that rewrites HTTP requests for the /cgi-bin/ to the /public/CGI-BIN directory
If you haven't touched this .htaccess file then your perl scripts should reside in the /public/CGI-BIN directory
Alternatively you can comment out/rename/delete the .htaccess file and move everything to the /cgi-bin folder. Do *not* do this though if you have PHP scripts in your cgi-bin (they probably won't work if placed under the cgi-bin in root).
If you haven't touched this .htaccess file then your perl scripts should reside in the /public/CGI-BIN directory
Alternatively you can comment out/rename/delete the .htaccess file and move everything to the /cgi-bin folder. Do *not* do this though if you have PHP scripts in your cgi-bin (they probably won't work if placed under the cgi-bin in root).
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Message 2 of 2
(362 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
- :
- Where to place Perl scripts