Home > Products > The 4D Web Companion > Errata and Updates |
4th Dimension 2004 introduces a handful of changes into the Web server and updates most plug-ins. If you convert the WebCore database to 4D 2004, update the 4D Internet Commands as well. You can find the current version at http://www.4d.com/products/downloads_4d.html
4th Dimension 2004 changes how unknown URLs are formatted in the On Web Authentication and On Web Connection database methods. In 4th Dimension 2003 and earlier, uknown URLs are reported without a leading slash. In 4th Dimension 2004, unkonwn URLs are reported with a leading slash for consistency with how 4DACTION, 4DCGI, and 4DMETHOD URLs are formatted. This change in behavior breaks some of the methods in the WebCore database. The simplest workaround to this problem is to turn on the following preference:
Preferences > Compatibility > Web Compatibility > Remove "/" on unknown URLs.
4th Dimension 6.8 and later can run natively under the OS X operating system. OS X blocks users other than root from running servers on ports below 1024. Translation: You can't run the Web server on port 80 (the usual port) unless you're root. Of the several workarounds for this constraint, the one I recommend is adding a rule to the OS X firewall that forwards requests to port 80 on to a different port. There is little or no speed penalty to this approach, configuring 4th Dimension is simple, and there is no need to run the Web server as root. Below are the basic steps:
Below is a translation of the cryptic looking rule shown above:
forward (fwd) requests to the this machine (127.0.0.1), on the port 4D is using for the Web server (8000) over TCP (tcp) coming from anyplace (from any) or to anyplace (to any) on the regular Web port (80).
There are two free products available that make it easy to set and modify IPFW rules, listed below.
4th Dimension 2003 introduces a handful of changes into the Web server and updates most plug-ins. If you convert the WebCore database to 4D 2003, update the 4D Internet Commands as well. You can find the current version at http://www.4d.com/products/downloads_4d.html
This section lists errata found in The 4D Web Companion. Also see the demonstration download page for updates and fixes to the demos. If you discover any new errors or problems in the book, please email them to dpadams@island-data.com
Products | Trainings | Downloads | Book Reviews | Links | About | |
Copyright © 1997-2004 Island Data/4DCompanion.com. Send comments and questions to dpadams@island-data.com or info@4DCompanion.com.