image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old November 20th, 2007, 08:15 PM
Registered User
 
Join Date: May 2005
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
weknowjack is on a distinguished road
What is path on a local Mac using http://localhost/

I have just installed PHP and mySQL on my Mac along with Zen Cart and I am trying to find the path to the Zen Cart directory for my site in my browser. I know it's a dumb question, but I have never used the localhost/whatever path before and I'm not sure what it is:

My files are in me-the-user/Sites/Directory, so wouldn't the path be http://localhost/me-the-user/Sites/Directory?

Jack
Reply With Quote
  #2  
Old November 20th, 2007, 08:23 PM
Registered User
 
Join Date: Feb 2005
Location: NJ
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
xero is on a distinguished road
so since my user name is xero, my personal file sharing site would be http://localhost/~xero
that is the same for any user on the mac.

BUT the web sharing directory for the "computer" is /Library/WebServer/Documents/
so going to http://localhost/ will pull up the contents of that Documents folder.
Reply With Quote
  #3  
Old November 20th, 2007, 10:33 PM
Registered User
 
Join Date: May 2005
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
weknowjack is on a distinguished road
Thank you. I worked through that successfully. Now, the setup is asking me for the db username and password. When I setup mysql, I don't recall setting those. Is there a default for those? I'm just customizing this site and testing on my local machine. Never worked with a database before.
Reply With Quote
  #4  
Old November 20th, 2007, 11:17 PM
Registered User
 
Join Date: May 2005
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
weknowjack is on a distinguished road
Never mind that last question. I have learned that I setup mysql only on my Mac and not a db. I'll do that and see what's next.
Reply With Quote
Reply

Thread Tools

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 Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 07:34 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.