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
.
Содержание DREAMWEAVER 8-GETTING STARTED WITH...
Страница 1: ...Getting Started with Dreamweaver...
Страница 8: ...8 Contents...
Страница 10: ......
Страница 46: ...46 Dreamweaver Basics...
Страница 48: ......
Страница 128: ...128 Tutorial Formatting Your Page with CSS...
Страница 136: ...136 Tutorial Publishing Your Site...
Страница 138: ......
Страница 189: ...Add a Repeat Region XSLT object 189 3 Select Insert XSLT Objects Repeat Region...
Страница 196: ...196 Tutorial Displaying XML Data...
Страница 216: ......
Страница 230: ...230 Understanding Web Applications...
Страница 236: ...236 Installing a Web Server...
Страница 254: ...254 Setup for Sample ColdFusion Site...
Страница 268: ...268 Setup for Sample ASP NET Site...
Страница 284: ...284 Setup for Sample ASP Site...
Страница 300: ...300 Setup for Sample JSP Site...
Страница 320: ...320 Setup for Sample PHP Site...