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.

Change Apache dir from Sites


Post Reply New Thread Subscribe

 
Thread Tools
npartist
Guest
 
Posts: n/a

Hey,
I have my iMac and I have been trying to get ftp and whatnot sharing with other computers including PC's. Well it is not up to par and I am wonder how do I change the directory that the apache web server looks for the files (ie. right now it looks in the /Users/yourname/Sites). Ideally I want to have two directories, /Users/yourname/ and /Volumes/Maxtor (an external HD). I don't care about a website, the ugly directory thing is find, I just want to have access to my files. Also would it be possible to have read/write access. Thanks
QUOTE Thanks
muso

 
muso's Avatar
 
Member Since: Jan 15, 2003
Location: Whangarei, New Zealand
Posts: 2
muso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond reputemuso has a reputation beyond repute
Mac Specs: Pwnt

muso is offline
The default folder the webserver looks in is actually /Library/WebServer/Documents/ - so if you type in http://localhost/ it will display whatever is in there. If you're looking to share files, using apache is probably not the best way to do it. Is normal file sharing not working? If you want to specify folders to share, sharepoints will take care of that for you.

I'm in your forums, writing sentences in a grammatically acceptable manner.
QUOTE Thanks
technologist

 
Member Since: Mar 30, 2004
Location: USA
Posts: 4,744
technologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond reputetechnologist has a reputation beyond repute
Mac Specs: 12" Apple PowerBook G4 (1.5GHz)

technologist is offline
If you're really set on messing with this, you'll have to edit the httpd.conf file. It can be found in /etc/httpd/

Sharing an entire user folder like that is extremely risky, though. Anyone who can see your machine would be able to read everything.

I'd strongly suggest you use either FTP, or smb/sharepoints as muso suggested. Enabling remote login (ssh) might be useful, too.
QUOTE Thanks
npartist
Guest
 
Posts: n/a

i found out what was wrong with my network sharing. I was successfully using sharepoints earlier but then it messed up for some reason (happened when I moved my computeer) and even after deleting all sharepoints files (that weren't hidden...) and reinstalled sharepoints it still wouldn't work. I read up on sharepoints web site and found the files that need to be deleted, they include the smb.conf file in /etc/ and the netinfo sharepoints file. I did that and now it works :cool:
QUOTE Thanks

Post Reply New Thread Subscribe


« ASP Testing on a Mac | Flash video tutorials »
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

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Dual Apache install, how do I remove!? edokid OS X - Operating System 1 02-11-2005 03:35 AM
Change Harddisk in PB 15" Alu madRAM Apple Notebooks 1 12-13-2004 09:08 AM
change computer name? Gar OS X - Operating System 2 09-25-2004 11:00 PM
Apache does not start plutonito OS X - Development and Darwin 3 07-28-2004 12:19 PM
How to change icon in Mac OSX Jaguar? silvia15 Apple Notebooks 0 10-28-2003 03:13 AM

All times are GMT -4. The time now is 01:01 AM.

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?