On 5/29/03 4:12 PM, "Claude Collerette" <c.collerette@xxxxxxxxxxxx> wrote:
Any but any suggestions greatly appreciated....
Here is the README file that I put together with help from the list. i
suggested to Tenon-people that it should be put by default in the cgi-bin
directory...
Maybe something in here will help you with your problem. if it does, more
power to the idea of putting this text into the cgi-bin directory by
default.
######################################
#README for CGI-Executables Directory
/Library/Tenon/WebServer/CGI-Executables directory
CGI scripts that you place in this directory are executable
by any Virtual host using the alias:
http://yourVHost.com/cgi-bin/scriptName.cgi or
http://yourVHost.com/cgi-bin/scriptName.pl
However, you have to do a few things to make sure that you can really run
the scripts on your virtual hosts.
To use a perl script called cool.pl in yourhost.com, put the script in here
(make sure you use UNIX line endings when you create the file, not Mac line
endings), and issue this command to change the permissions to world
executable:
sudo chmod a+x cool.pl
to change it back (make it unuseable by web browsers):
sudo chmod 644 cool.pl
Note on uploading: If you are uploading scripts to your server via FTP,
please ensure they are uploaded as ASCII Text. Uploading as binary files
will generate the error "Premature End of script headers".
Hope this helps.
DC 05/08/2003
#END of README
######################################
---------
Tenon Intersystems' iTools Mailing List
To unsubscribe: send mail to
itools-request@xxxxxxxxxxxxxxx
with the body only containing:
unsubscribe
Find the searchable mailing list archives
at:
http://itools.blackpepper.co.nz/