Setting the URL Prefix


The final step in setting up your dynamic Dreamweaver site is to set the URL prefix on the Testing Server pane. The URL prefix is the address of the root folder on the application server. Dreamweaver uses this address to access dynamic content and displays that data in Design mode so that you can preview the content of your dynamic pages.

To define a URL prefix:

1.

From the Site menu, choose New Site. The Site Definition dialog box appears, with the Advanced tab and the Local Info pane selected by default.

2.

Select the Testing Server category from the Category list on the left (Figure 2.21).

3.

Verify the information that's listed in the URL Prefix field.

Dreamweaver makes assumptions about the location of your application server and enters information in this field. It's very important to check that this information is correct for your site; otherwise, you may not be able to preview dynamic content in Dreamweaver.

If you are using a Web server on a remote computer, your home directory is the folder that's mapped to your domain name. For example, if your domain is www.myCompany.com, and your Web server uses a home directory called Public for your Web files, then your URL prefix is http://myCompany.com. If you want to use a subfolder of the home directory for processing dynamic pages, add that subfolder name to the URL prefix. For example, if you want to use the subfolder named customers for your dynamic pages, then your URL prefix is http://myCompany.com/customers/.

If you are using a local Web server and application server, your URL prefix should start with http://localhost. If you use a subfolder of the Web server's root folder for processing dynamic pages, add that folder name to the URL prefix. For example, if you're using IIS for your Web server and a subdirectory named contactInfo for processing dynamic pages, your URL prefix is http://localhost/contactInfo/.




Macromedia Dreamweaver 8 Advanced for Windows and Macintosh. Visual Quickpro Guide
Macromedia Dreamweaver 8 Advanced for Windows and Macintosh: Visual QuickPro Guide
ISBN: 0321384024
EAN: 2147483647
Year: 2004
Pages: 129
Authors: Lucinda Dykes

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net