Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Our Archives > General Archives > Servers > How to Applescript CGI or Perl CGI

 
How to Applescript CGI or Perl CGI
Thread Tools
Senior User
Join Date: Nov 1999
Location: Earth
Status: Offline
Jul 12, 2001, 05:04 PM
 
I worte a simple applescript code in OSX Server, but I couldn't get it to work. I placed the html and the cgi in the library/webserver/documents and I gave full permission read/write in the get info box. I keep on getting the same errors "FORBIDDEN! You dont have permission to access...." I tried also some Perl and keep on getting the same errors.

Any suggestions?
     
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Jan 6, 2002, 02:27 AM
 
yes, 6 months later, you have to open the CGI's in a program like Show Info, which shows read write AND executable permissions. Check all 3 execution options for your CGI, and it should then run, assuming you have CGI's turn don in apache. That goes for perl CGI's, getting applescript CGI's to run in apache can supposably be done in OS X Server, and I happen to be working on that right now, but I'm not to confident. As great as AppleScript CGI's would be, your best bet is probably going to be to learn perl or something else like it.
     
 
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:30 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2