Location of Web Folder on a Mac Server Application

Julio Carneiro (7/9/08 4:42PM)
David Nasralla (7/29/08 10:20AM)


Julio Carneiro (7/9/08 4:42 PM)

Did you try changing the web root folder in preferences? either  

statically (4D Preferences) or via Set Database parameters.

remember that if you do it programmatically you should startup the app  

with the web server down, set the web root folder and then start the  

web server.

hth

julio

On Jul 9, 2008, at 12:05 PM, David Nasralla wrote:

Hi All,

I have a built Mac Server application (4D 2004.7r?). I was wondering

if there was a way to move the Web folder out of the Server

Application.

The issue came up today when I uploaded a new server application and I

forgot to move the Web Folder from the old application to the new one.

I lost about 9000 pdf files.  Fortunately, the backups worked like

they should and I was able to recover the files.

What would be best would be to simply not have the Web Folder inside

the 4D Server.app package. Any ideas? (I try using an alias and that

did not work.)

TIA,

dave

David Nasralla (7/29/08 10:20 AM)

<4cf6c4070807290820j5fc0c36fg931c1e65ff8a7624@...

Hi all,

Just wanted to do a quick followup on how to move the web folder

outside of a 4D Mac Server Application for 4D 2004.7.

The Command SET HTML ROOT changed in v11. In 4D 2004 (my version) SET

HTML ROOT only works in contextual mode. (The docs for vs 2004 state

this - the online docs show how it behaves in v11).

The Language Reference for 2004.6 makes no reference to being able to

use absolute file paths in the Preference like the v11 docs mention.

But, using an absolute reference in vs 2004.7 DID work for me.

What ended up working best for me is to use three 'up' commands in the

4D Preferences like Julio said.

"../../../WebFolder"

Thanks to all that helped...

dave

On Wed, Jul 9, 2008 at 11:13 PM, David Nasralla <dnasralla@...
wrote:

Hi Julio,

Julio Carneiro <jjfourd@... wrote:

And 4D's documentation states clearly that you can pass a full path as
the

parameter (http://www.4d.com/docs/CMU/CMU00634.HTM)

Thanks. I did not see that.

You'll see that you can set the 'default html root' via 4D preferences

outside the package too, using "../../../WebFolder" ( I hope I counted
the #

of "ups" correctly).

I tried this method, but did not get it to work (albeit, I did not try

hard...) I just tried going up one level.

Thanks for all your help.

dave

--

David Nasralla

Clean Air Engineering

--

David Nasralla

Clean Air Engineering

Reply to this message

Summary created 7/29/08 at 11:30AM by Intellex Corporation

Comments welcome at: feedback@intellexcorp.com