Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use AppleScripts to generate web pages' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use AppleScripts to generate web pages
Authored by: Graff on Dec 22, '03 02:27:34PM
A much better solution would be to run the applescript as a CGI. There is a quick example of how to do this is on Apple's web site. The jist of it is a "on handle CGI request this_request" handler.

From what I understand this will only truly work on Mac OS X Server. To do the same thing on regular Mac OS X you need to use something like the program acgi dispatcher.



[ Reply to This | # ]
Use AppleScripts to generate web pages
Authored by: grrl_geek on Dec 23, '03 01:15:48PM

No, you can run CGI scripts on regular OS X, there just isn't a GUI tool to do so. You have to edit httpd.conf by hand, but it's not hard.



[ Reply to This | # ]
Use AppleScripts to generate web pages
Authored by: grrl_geek on Dec 23, '03 01:20:24PM

I'm sorry, I should have looked at your link before commenting. I didn't realize that there were special things to consider with AppleScript.



[ Reply to This | # ]