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 > Software - Troubleshooting and Discussion > Developer Center > How to get WebStar and Filemaker Pro to work together ??

How to get WebStar and Filemaker Pro to work together ??
Thread Tools
Fresh-Faced Recruit
Join Date: Feb 2002
Location: Denmark
Status: Offline
Reply With Quote
Feb 6, 2002, 11:41 PM
 
I have used Webstar 4.x together with FileMaker Pro and MacOS 9 for years without any problems. I use it in the way that I place an alias named FMPro pointing to the File Maker Pro application in the folder that is accessed. Thus all requests go through W*, which gives me all the benefits of virtual hosting, up- and downloads, applets, etc. Requests like /FMPro?... are handed over to FileMaker, i.e.the web compagnion and handled properly by that.

Now, this method cannnot directly be implemented on MacOS X, since W* must know which event to generate, so therefore I have defined the following CGI settings:

<PlugIn name="WebSTAR CGI">
<Permissions>
<Folder type="any" allow="yes"/>
<Folder type="local" allow="yes"/>
<Folder type="global" allow="yes"/>
<CGI type="appleevents" allow="yes"/>
<CGI type="ncsa" allow="yes"/>
</Permissions>
<Actions>
<Action name="Unix CGI" matchType="ends_with" matchStr=".cgi" type="ncsa" path=""/>
<Action name="AE CGI" matchType="ends_with" matchStr=".acgi" type="appleevents" path=""/>
<Action name="Perl Scripts" matchType="ends_with" matchStr=".pl" type="ncsa" path=""/>
<Action name="PHP" matchType="ends_with" matchStr=".php" type="ncsa" path="/cgi-bin/php"/>
<Action name="FileMaker" matchType="begins_with" matchStr="/FMPro" type="appleevents" path="/FileMaker/FileMaker Pro"/>
<Action name="Test" matchType="begins_with" matchStr="/test" type="appleevents" path="/FileMaker/test acgi"/>
</Actions>
</PlugIn>

The bad thing is that I get the following error, when I try to access ../FMPro?...:

The desired file was not found. Please try the index page.

The problem is now
1) is this a simple mis-configuration,
2) are WebStar V missing features, that was present in WebStar 4.x, or
3) is FileMaker 5.5 missing something in its interface in MacOS X? In MacOS 9 it obviously must have been able to cope with the appleevent on handle CGI request !

Any suggestions?
     
   
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 06:04 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