Newbies catherineh Posted July 11, 2003 Newbies Posted July 11, 2003 I am creating a search and results page with GoLive with no success. I am receiving the error message: Attempt to load "Accessing URL: file://localhost/Applications/Filemaker%20Pro%206%20Folder/Web/ FMPro" failed. Does this have something to do with the CGI script? Is it not being sent to Filemaker? I am not very experienced in web site development, if somebody could point out what I am doing wrong, it would be greatly appreciated. I am also working on Mac OSX, so I am aware there may be a conflict between the Filemaker server and Apache web server, as Apache will attempt to override Filemaker. What do I do about this? P.S. I could also paste my source code if anybody thinks there is a problem there. Thanks! Catherine
omiossec Posted July 11, 2003 Posted July 11, 2003 file://localhost/Applications/Filemaker%20Pro%206%20Folder/Web/ is not a correct url. Your url must look like /folder/file]http://host[:port]/folder/file So you should post part of your code so that we can help you
Steve T. Posted July 11, 2003 Posted July 11, 2003 Hi, Catherine! (1) ERROR message. Try checking your FORM statement on your search page as omiossec suggests. I try to always use something like the following... <FORM ACTION="http://domainofwebserver.com/FMPro" METHOD="POST"> or you can use IP address instead of domain (2) FMP vs. APACHE on Mac OS X The internet uses differenet "port numbers" for different uses. The most common port for web traffic is port 80, or ":80". When you type http://www.fmforums.com, it's really the same as http://www.fmforums.com:80 since port 80 is the default. You can set either FileMaker or Apache to serve on another port if you plan to run both on the same server. To change the port number for FileMaker, go to the Web Companion plug-in configuration and change the port number to something other than 80; FMP recommends :591 as the alternate. If you do not plan to use Apache, then you should not have to worry about it. Just make sure it's not running... System Preferences > Sharing > Personal Web Sharing (unchecked) Hope this helps some! --ST
Unable Posted July 11, 2003 Posted July 11, 2003 When I run the demonstration which I posted on the on the Sample Files Forum last weekend (let all files be loose in Web Folder) on my Mac (OS8.6), I call the default page with: http://localhost/default.htm When I click the link on that page, the resulting url reads: http://localhost/fmpro?-db=kevin.fp5&-format=thiswaytofun.htm&-findall A folder need be named only if one is used. A port (as implied by the [] in omiossec's and expanded upon in Steve's post) is required if it is not (default port) 80. From previous postings, there seems to be something with pc's about directories instead of folders. I infer that they are the same, but I am not favorably experienced with pc's to know.
Unable Posted July 19, 2003 Posted July 19, 2003 Catherine (and others reading this thread looking for answers), I was not quite as clear as I could have been. I wrote, "When I click the link on that page, the resulting url reads: http://localhost/fmpro?-db=kevin.fp5&-format=thiswaytofun.htm&-findall " I should have added that the link in the format file which causes the gerenation of that URL reads: <a href="fmpro?-db=kevin.fp5&-format=thiswaytofun.htm&-findall">link.</a> So when writing an anchor in a format file I have not found it necessary to include any refernce to a host or a port. Additionally my experience is that, when served on the web, the host URL (and port if other than 80) is necessary to specify only in accessing the URL (default.htm) initially. That address (including port) is set-up with your ISP and a name/site registration.
Recommended Posts
This topic is 7868 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