Using Zend Server on an iMac and the test.htm page code shows in the browser window..

Joined
Oct 27, 2012
Messages
2
Reaction score
0
Points
1
I found this thread that helped me find the usr/localhost folder. http://www.mac-forums.com/forums/os-x-apps-games/220037-where-usr-local-located.html

When I added this HTML code to a file named "test.htm" to get "Hello World", what I get in the browser window instead is:

<html>
<head>
<title>A Quick Test</title>
</head>
<body>
Hello World
</body>
</html>

The folder in which the "test.htm" file is located is /usr/local/zend/apache2/htdocs

Anyone have an idea of what I did or am doing wrong?

Thanks
 
OP
I
Joined
Oct 27, 2012
Messages
2
Reaction score
0
Points
1
I found this thread that helped me find the usr/localhost folder. http://www.mac-forums.com/forums/os-x-apps-games/220037-where-usr-local-located.html

When I added this HTML code to a file named "test.htm" to get "Hello World", what I get in the browser window instead is:

<html>
<head>
<title>A Quick Test</title>
</head>
<body>
Hello World
</body>
</html>

The folder in which the "test.htm" file is located is /usr/local/zend/apache2/htdocs

Anyone have an idea of what I did or am doing wrong?

Thanks

Changed from TextEdit to BBEdit and that fixed the problem. No idea why TE didn't do it correctly.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top