KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: A 4D 6.5 web root folder strategy
PRODUCT: 4D | VERSION: | PLATFORM:
Published On: April 9, 1999

When using the Web Server features of version 6.5, you can set the Default HTML Root and the Default Home Page in the Database Properties tab. This is useful if you'd like to keep all your web pages and Images together. For example, your folders may look like: Database_Folder : Web_Pages_Folder.

The Web_Pages_Folder will contain your web pages and Images. If you wish to use the Send HTML File command and you wish to include Images in your web page, you will need to prefix the path to your pictures with a "/" character.

Claris Home Page Example HTML:
<IMG SRC="/Roll_4D.gif" WIDTH=112 HEIGHT=70 X-CLARIS-USEIMAGEWIDTH X-CLARIS-USEIMAGEHEIGHT ALIGN=bottom>

If you're using an HTML editor, such as Claris Home Page for example, the Images will not be loaded. Rest assured however that 4th Dimension will send them out properly.