Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Folder structure limited with FMPro 6 WSC + CDML?

Featured Replies

  • Newbies

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.

"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!

  • Author
  • Newbies

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.

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!

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

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.