MattCoyne Posted July 1, 2003 Posted July 1, 2003 Hi all I have taken a quick look at Wellspring Data's 'Filespring Pipeline' (http://wellspringdata.com/filespring.html) to enable the use of existing CDML files on my Apache server. They state that no additional coding is necessary to use your existing files in this manner as the technology simple forwards the request to Web Companion. I have carried out the 'simple' installation instructions without luck and as I am not a total apache techie, do not know where to turn. If anyone has had experience in using FSP then please post a reply... I'd appreciate the help!! I'm using OS X 10.2.6, standard Apache install with the OS, PHP 4.3.0 and FMU 6. The problem I have is that when trying to access the first format file Apache throws up a 500 Internal Server Error. ...anyone? TIA
Arin Posted October 17, 2003 Posted October 17, 2003 Hmm... not sure why that would be... Is anyone here using this successfully? How about FX.php ?
Steve T. Posted October 17, 2003 Posted October 17, 2003 MattCoyne said: ...anyone? Hi, MC! I'd double-check the Apache httpd.config de-commenting instructions and php.ini settings again. You're not missing anything obvious like port conflicts, right :80, :591, :8080, etc.? Also, they say that the web page is processed first by Web Companion and then by PHP but you say there's no problem until you try to use a -format page, right? Hmm... does the index.php display ok? I don't know the product, but they also say it's similar in operation to Web Server Connector. Sorry.. I don't know enough about all this but here's a clipping from their website for anyone who might be able to help TIA... --ST ================================================= How it works Alias directives tell Apache to send any requests containing the string "FMPRO" (or variants) to FSP.php. FSP processes the HTTP request and rewrites it to go to Web Companion running on the host and port number specified in the config file. This is similar to a reverse proxy. Since it has to forward the URI and the POST data in the request, FSP will also look for and remove any reference to "-fmp_xml" if the $filter_xml config variable is set. This will effectively cripple any request that is trying to get XML data out of Filemaker. Such a request will still be forwarded on to WC, but without a valid format statement, WC will return an error. FSP waits for the requested page to come back from WC. When it has the complete page, it will run it through PHP (unless $passthru is set), allowing you to post-process the results of a CDML page with PHP. The PHP code is actually embedded in the web page along with the CDML--WC will ignore it, passing it back to FSP along with the HTML. After PHP has evaluated the web page, it is sent back to the browser, which is none the wiser to all the activity behind the curtain!
Garry Claridge Posted October 18, 2003 Posted October 18, 2003 Excellent stuff Steve I just entered this line into my httpd.conf file: Redirect /FMPro http://localhost:8080/FMPro Now all URLs, to my server, with /FMPro..... are redirected to FM. Thank you Garry
Steve T. Posted October 18, 2003 Posted October 18, 2003 HA! I finally contribute to the genius of what we call GARRY and it's by sheer dumb luck. And I can't even claim credit for it as I just did a quick COPY/PASTE of what my inexpert eyes thought might be helpful. (I'm only just starting to work with php/Apache.) Well, for it what it's worth... you're very welcome. And THANK YOU for helping me through posts about 100 times and directly on several occasions. --ST
Recommended Posts
This topic is 7777 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now