Sunday, July 17, 2011 6:40:01 PM Hi Brad,
Thanks very much for your replies! 'Course, things _are_ a lot easier on the Mac, which I have no problem getting up and running; it's the darn PC that puts up all kinds of roadblocks... :-( (The last time I set it up, we just put everything together in the 4D Client folder on the PC, and everything worked fine. Alas, I don't think that's possible anymore.) >> 3) Do the folders "Web" (my web files), "Active4D" (configuration files) >> and "Web_Static" (files served directly by 4D) all go here? >> >> <SystemDisk>:\ProgramData\4D\com.aparajita\Active4D\ > > If that is what the docs say, I'd say yes. That is what the docs say (at least for the Active4D configuration files folder), so I guess my next question is do I need to specify anything in the Active4D.ini file for the "root" option, or will it find the web folder there as a default? In the notes in the "Active4D.ini" file, it says, > DEFAULT > ------- > root = <default>/web and for <default> it says, > <default> The "default" 4D directory Now, I'm not totally clear on where this is when using 4D Remote on Windows 7. In the 4D docs for version 12.2, under "Connection Security" under the "Web Server", for the default HTML root location, it states, > with 4D in remote mode, in the local folder of the 4D database (see the Get > 4D folder command). and > The access path entered in this dialog box is relative: it is established > from the folder containing the structure of the database (4D in local mode or > 4D Server) or the folder containing the 4D application or software package > (4D in remote mode). and > HTML Root Folder > Current HTML root folder of the database. The pathname returned is expressed > with the standard syntax of the current platform. The HTML root folder is the > folder in which the 4D Web server looks for the requested Web pages and > files. By default, it is named WebFolder and is placed next to the structure > file (or its local copy in the case of 4D in remote mode). It _seems_ to be saying to locate these files in the 4D Remote application folder; however, I'm pretty sure you're not supposed to do that anymore under Windows 7 and Vista. So, to cut to the chase, can anybody using 4D Remote on Windows 7 or Vista tell me where this should be located? And do I need to update the "Active4D.ini" to point to this location, or will it find it automatically by default? And do I need to specify the path in the 4D "Default HTML Root" field? I need both the 4D web server folder (which under Active4D is the "Web_Static" folder) as well as the "Web" folder (where all the Active4D pages go) to be together in the same directory AND that can be modified by the application. (The latter requirement is because I built an entire module for handling the Active4D web pages from within 4D itself; this is because IT has the web server fairly tightly locked down and it's always a major hassle to update pages on it. With my module, the users can manage the web sites directly from within 4D, uploading new pages and sites all from their own workstation without having to go through IT to load up the pages on the web server. From what I read, Windows 7 and Vista no longer allows the application to modify pages in the "Program Files" directory, meaning anything that's going to change must be located somewhere else.) >> 5) Finally, where does the key file go? > > On 4D Remote machine. The actual path location is in the docs. There are > past threads on this topic in the Nabble mailing list archive. Well, I did study the mailing list archive (using the search term "key file location"), but no joy (mostly references to Mac location). The docs clearly state "in the licenses folder" (although not on which computer); I guess just tell them to hunt around on the 4D Remote computer until they find a folder called "Licenses"? The 4D docs don't specifically state where this is located on 4D Remote. Does anybody have a hint as to where this most likely will be located? Is it here? <SystemDisk>:\ProgramData\4D\Licenses > Get remote access if you can :) Yup, I know this would make life a _lot_ easier, and back in the old days I used to have it. But unfortunately, IT at this particular client has gotten pretty strict and they want to handle everything themselves. Thus the creation of my Active4D web page module mentioned above... :-) And thus my request for all this detail from someone who's done it before so I can explain it to them. And who knows, maybe this might help someone else someday doing battle on Windows to get this set up... Again, thanks to anybody who can chime in here. Cheers! Michael Larue _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
