Jump to content

This topic is 7861 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Hi,

Is there a limitation with folder stucture in FMPro 6 with WSC using CDML custom pages? I'm asking this because I can't see a logical explanation to the problem I have.

I'm moving a set of Web sites from WebSTAR + FMPro 5 WSC under Mac OS 9 to Apache + FMPro 6 WSC under Mac OS X Server.

When I call a page located at /group/db/press/FMPro I have an Apache 404 error.

When I move the page up a level (/group/db/FMPro) it works, the page shows up correctly.

File and folder privileges are correct.

I have developped many Web sites these last years with the aforementioned configuration and I've never encountered that kind of problem; I was able to use short and long directory structure.

Any idea?

Ch.

Posted

"group/db/press/FMPro "

<-----

so "

/FMPro/folder/sub_folder/sub_sub_folder/...."

all located in the folder "WEB" int he FileMaker program directory!

no wait...U want Apache to server these pages?right?

then check that "Indian's folder structure"..I think there is more posts here that deal with custom web servers...

all the best!

  • Newbies
Posted

Leb i Sol said:

"group/db/press/FMPro "

<-----

so "

/FMPro/folder/sub_folder/sub_sub_folder/...."

all located in the folder "WEB" int he FileMaker program directory!

no wait...U want Apache to server these pages?right?

Actually no, I don't. I want these "dynamic pages" being served by FMPro, not Apache. So all pages containing CDML code are located in the Web folder inside the FMPro folder whereas the standard HTML pages are located in the /Library/WebServer/Documents folder where Apache is supposed to find them.

The FMPro part in the URL I mentionned isn't a folder, it's the method "intercepted" by WSC to serve dynamic pages. It's followed by FMPro arguments so the whole thing looks like this:

http://www.domain_name.com/group/db/FMPro?-db=db_name&-format=page_name.html... etc.

Maybe my explanation wasn't clear. I appologize.

I've looked again for help in this forum --and others-- but couldn't find any. It seems I'm stuck with this two folder levels only =(

Ch.

Posted

Hi Charlyp!

I pesonally have not tried this setup but thinking about it:

- make sure the FM and Apache are serving on different ports

http://www.domain_name.com/group/db/FMPro?-db=db_name&-format=page_name.html...

vs.

http://www.domain_name.com:81/group/db/FMPro?-db=db_name&-format=page_name.html...

- FM can server simple HTML as well

"where Apache is supposed to find them."

--> check your .httpaccess or .config ( whatever that file name was)

May I ask why use Apache? unless u want run some JS that is not supported by FM but u said static HTML?

Anyway, I think it is the apache configuration for the "progressive rights" on folders.

All the best!

Posted

RE: Is there a limitation with folder stucture in FMPro 6 with WSC using CDML custom pages?

and

Actually no, I don't. I want these "dynamic pages" being served by FMPro, not Apache.

-----------------

That doesn't make sense.

The purpose of WSC is, that main web server -- Apache or IIS -- IS serving dynamic pages from FM -> Web Comp. -> Web server

This topic is 7861 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.