Let me preface this by saying I know little to nothing about Macs .. however
... Apache is the server so the doents would need to be in the htdocs
folder of the Apache server. Then the URL prefix would be
[url]http://localhost/MySampleApp[/url] .. I would think. I can't imagine that it
would be localhost/name of your hard drive .. that doesn't make any sense.
When you tested the PHP info using info.php .. where did you put that file?
What URL prefix did you use to browse to it? I'm guessing
[url]http://localhost/info.php[/url] and for my money, it should have been in the
htdocs folder of the Apache server.
Unless Mac is way different than I thought. :)
Team Macromedia Volunteer for Dreamweaver MX/UltraDev
Co-Author: Dreamweaver MX: Instant Troubleshooter (August, 2003)
Technical Editor: DMX 2004: The Complete Reference, DMX 2004: A Beginner's
Guide, Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development
"hypamw" <webforumsusermacromedia.com> wrote in message
news:d1qpsc$mi9$1forums.macromedia.com...following> Hello Marc,
> I've downloaded Dreamweaver MX 2004 - Mac for 30 trial. I've beenMac:> the tutorial, and everything works fine until now I'm following to build a
> dynamic page with database connection. Here is the configuration on myLocal> (it's actually what come with Mac OS X)
> Operating system: Mac OS 10.2.8
> Web server: Apache 1.3.27
> Application server: PHP 4.1.2
> Database: MySql 4.1.10
> I've tested the Apache with PHP by browsing the following php code
> <? php
> It shows all PHP server info on the system.
> I created a database by doing:
> mysql> CREATE DATABASE TrioMotors
> and populated it on UNIX terminal.
> Then I went back to Dreamweaver to create a dynamic site by configuring(Macintosh> root folder, Remote folder and Testing server folder. By following the
> tutorial, the Remote folder and Testing server folder are the sameerror:> HD:Users:guess:Sites:MySampleApp:) The Access is Local/Network. The URL
> Prefix is automatically set to [url]http://Macintosh[/url] HD/
> When I tried to do MySql Connection on Dreamweaver MX 2004, I got thisthe>
> HTTP Error Code 404 File Not Found. Here are some possible reasons forfolder. I> problem:
> There is no testing server running on the server machine.
> The testing server specified for this site does not map to the
> [url]http://Macintosh[/url] HD/_mmServerScripts/MMHTTPDB.asp URL. Verify that the URL
> Prefix maps to the root of the site.
> I tried to changed the URL Prefix to the same as the Testing serverfix> got the same error message complaining different http:// path. And I also
> tried diff. possible path, but the same error message persists.
> I've read diff. help doc. from Macromedia and Apple sites but still can'f> the problem. Hope you can give you shred some light on it.
> Thanks for your help in advance. Hope to hear from you soon.