Go Back  Mac-Forums.com  > Hardware > Apple Notebooks > Setting Localhost on Mac

Reply
 
LinkBack Thread Tools
Old 01-30-2006, 01:13 PM   #1 (permalink)
mohammed

 
Member Since: Jan 30, 2006
Posts: 27
mohammed is on a distinguished road
Setting Localhost on Mac

Hello Friends,

Just wanted to make this a as a quick Post.
I am trying to set my local folder as localhost, the way we set in windows.

I am a webmaster and bought a new apple iBook 12" and now i am trying view my websites locally as I would be working on it most of the time.
I guess there is not much complication in doing this, but still i was not able to do this.

Can anyone please reply to this post soon.

Thanks in advance.

White Eagle.
mohammed is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Old 01-30-2006, 06:06 PM   #2 (permalink)
antizero
Guest
 
Posts: n/a
The good thing about Mac OS X is that Apache comes built in, you just have to enable it. Go to System preferences > Sharing > enable Personal Web Sharing (or ftp and whatever else you need).
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Old 01-31-2006, 02:40 AM   #3 (permalink)
mohammed

 
Member Since: Jan 30, 2006
Posts: 27
mohammed is on a distinguished road
Thanks

Quote:
Originally Posted by antizero
The good thing about Mac OS X is that Apache comes built in, you just have to enable it. Go to System preferences > Sharing > enable Personal Web Sharing (or ftp and whatever else you need).
Thanks Antizero for the reply, I really appreciate.

One more last thing. I have seen those settings, http://202.168.2.8/~mohammed/ and this is what I see.

Now how should I give the Path of the local folder in our HDD?

Can you please make it much more elabotaive.

Thanks in Advance.

Mohammed
mohammed is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Old 02-01-2006, 09:58 PM   #4 (permalink)
JackTheRipper

 
Member Since: Dec 11, 2004
Location: Vancouver
Posts: 128
JackTheRipper is on a distinguished road
Mac Specs: 14" iBook 1.33 G4, 768 MB RAM, 60GB HD
You have to do that in your httpd.conf I guess.

one thing, I can help you make it: 202.168.2.8/mohammed/ without the ~

example
Quote:
Alias /mohammed/ "/path/to/mohammed's/folder/"

<Directory "/path/to/mohammed's/folder">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
JackTheRipper is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Old 02-01-2006, 10:05 PM   #5 (permalink)
mynameis

 
Member Since: Oct 01, 2004
Posts: 3,362
mynameis is just really nicemynameis is just really nicemynameis is just really nicemynameis is just really nice
/Library/Webserver/Documents/ is the location of the root web directory.
mynameis is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Window users that are MAC WANNA BE'S! jdoverkill Switcher Hangout 47 10-12-2006 03:48 PM
Old Mac SE and Mac Quadra for the taking scootluge Buy/Sell/Trade 1 01-19-2006 12:49 PM
It's called a Mac iSheep Anything Goes 22 10-13-2004 06:35 PM
Connecting to Mac from PC problem beetlejelly OS X - Operating System 10 05-05-2004 01:21 AM

 
 
 
     
Home Calendar Get New
     

Copyright ©2001-2009 Mac-Forums.com. All Rights Reserved. A division of iNET Interactive.

Other iNET Interactive Sites: Web Hosting Talk | Swish Talk | Hosting Catalog.com| Dev Papers| Deleted Domains| Hot Scripts

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