Testing the Macintosh web server (PHP developers) 233
Testing IIS
To test the web server, create a simple HTML page called myTestFile.html
and save it in the Inetpub\wwwroot folder on the computer where the web
server is running. The HTML page can consist of a single line, such as:
<p>My web server is working.</p>
Next, open the test page in a web browser with an HTTP request. If IIS is
running on your local computer, enter the following URL in your web
browser:
http://localhost/myTestFile.html
If IIS is running on a networked computer, use the networked computer’s
name as the domain name. For example, if the name of the computer
running IIS is rockford-pc, enter the following URL in your browser:
http://rockford-pc/myTestFile.html
If the browser displays your page, the web server is running normally.
If the browser fails to display the page, make sure the server is running. If
the page still fails to open, make sure your test page is located in the
Inetpub\wwwroot folder and has a .htm or .html file extension.
Testing the Macintosh web
server (PHP developers)
You can use the Apache web server already installed on your Macintosh to
develop PHP applications.
To test the server, create a simple HTML page called myTestFile.html and
save it in the /Users/
your_user_name
/Sites/ folder on your Macintosh
(where
your_user_name
is your Macintosh user name). The HTML page
can consist of a single line, such as:
<p>My web server is working.</p>
NO
TE
For more information on computer names, see
“Web server basics”
on page 234
.
Summary of Contents for DREAMWEAVER 8-GETTING STARTED WITH...
Page 1: ...Getting Started with Dreamweaver...
Page 8: ...8 Contents...
Page 10: ......
Page 46: ...46 Dreamweaver Basics...
Page 48: ......
Page 128: ...128 Tutorial Formatting Your Page with CSS...
Page 136: ...136 Tutorial Publishing Your Site...
Page 138: ......
Page 189: ...Add a Repeat Region XSLT object 189 3 Select Insert XSLT Objects Repeat Region...
Page 196: ...196 Tutorial Displaying XML Data...
Page 216: ......
Page 230: ...230 Understanding Web Applications...
Page 236: ...236 Installing a Web Server...
Page 254: ...254 Setup for Sample ColdFusion Site...
Page 268: ...268 Setup for Sample ASP NET Site...
Page 284: ...284 Setup for Sample ASP Site...
Page 300: ...300 Setup for Sample JSP Site...
Page 320: ...320 Setup for Sample PHP Site...