New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

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


Post Reply New Thread Subscribe

 
Thread Tools
igoblue

 
Member Since: Oct 27, 2012
Posts: 2
igoblue is on a distinguished road

igoblue is offline
I found this thread that helped me find the usr/localhost folder. Where is usr/local located?

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
QUOTE Thanks
igoblue

 
Member Since: Oct 27, 2012
Posts: 2
igoblue is on a distinguished road

igoblue is offline
Quote:
Originally Posted by igoblue View Post
I found this thread that helped me find the usr/localhost folder. Where is usr/local located?

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.
QUOTE Thanks

Post Reply New Thread Subscribe


« i have three very simple gif files that have stopped animating !!! | iWeb Gallery and Twitter Feed Help »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

All times are GMT -4. The time now is 10:41 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?