image
image

Go Back   macosx.com > Mac Help Forums > HOWTO & FAQs

Reply
 
Thread Tools
  #9  
Old March 22nd, 2002, 10:58 PM
Jadey's Avatar
sosumi
 
Join Date: Apr 2001
Location: CANADA
Posts: 771
Thanks: 0
Thanked 0 Times in 0 Posts
Jadey is on a distinguished road
bluez, if you HAD followed it step by step, you would have gotten the .htpasswd file created. Your recommendation to include the path says to me you skipped the step in the beginning of the tutorial that says to:

In terminal type:

cd /private/etc/httpd
Reply With Quote
  #10  
Old March 22nd, 2002, 11:25 PM
Registered User
 
Join Date: Jan 2002
Posts: 115
Thanks: 0
Thanked 0 Times in 0 Posts
bluehz is on a distinguished road
This conversation is closed - seeing as how you have become so defensive, the true meaning of sharing knowledge on this topic has diminished.
Reply With Quote
  #11  
Old March 23rd, 2002, 04:46 PM
Jadey's Avatar
sosumi
 
Join Date: Apr 2001
Location: CANADA
Posts: 771
Thanks: 0
Thanked 0 Times in 0 Posts
Jadey is on a distinguished road
I certainly can't help how you interpret my postings. I was trying to make it clear so that other people who would try to follow the how-to wouldn't become confused by your missing a step. But, no need to apologize, bluehz
Reply With Quote
  #12  
Old June 10th, 2002, 01:15 AM
profx's Avatar
ill never 4get watsisname
 
Join Date: May 2001
Location: Auckland New Zealand
Posts: 386
Thanks: 0
Thanked 0 Times in 0 Posts
profx is on a distinguished road
How do you disable users in apache?

I would like to remove the users freature in apache

ie http://127.0.0.1/~user

i have put password on to the main page (http://127.0.0.1) and i dont want it to allow any thing with out having to put in the password. However it bypasses the password when you go to a users homepage. So I deleted the sites folder out of my home folder and now when i type in 127.0.0.1/~user it says 404 not found. This only happens when you place a valid username in the url.

If you put an invalid username it prompts you for the password, then says 404 not found. (this is what i want it to always do).

I only want to have one website on my computer which runs from /libary/webserver/documents/

Thanks

William
__________________
| PowerBook G4 550 - 10.4 - 512Mb - 20Gb | 30Gb iPod Photo | 40x12x48 Fantom Drives CDRW (firewire) | Logitech Cordless Mouse MX700 | xBox with XBMC for movies and music in the lounge
Reply With Quote
  #13  
Old June 10th, 2002, 08:04 PM
uoba's Avatar
Re: member
 
Join Date: Aug 2001
Location: Merseyside, UK
Posts: 1,726
Thanks: 0
Thanked 0 Times in 0 Posts
uoba is on a distinguished road
Thanks Jadey!

I've been trying to get into password protection for a while (half-heartedly).
This works fine thanks.

One thing, your first post didn't work for me (just as if it wasn't protect and allowed me to the site), but your second post fixed it. In newbie terms, what was the difference?
Reply With Quote
  #14  
Old June 11th, 2002, 04:46 AM
uoba's Avatar
Re: member
 
Join Date: Aug 2001
Location: Merseyside, UK
Posts: 1,726
Thanks: 0
Thanked 0 Times in 0 Posts
uoba is on a distinguished road
Thanks testuser

That's crystal

Just one thing, why didn't the first way work on my machine, and the second did? (generally, I don't want this to turn into a support issue )

Cheers
Reply With Quote
  #15  
Old June 11th, 2002, 04:51 PM
uoba's Avatar
Re: member
 
Join Date: Aug 2001
Location: Merseyside, UK
Posts: 1,726
Thanks: 0
Thanked 0 Times in 0 Posts
uoba is on a distinguished road
Thnx testuser

Just printing this out now!

I tried this again on my studio server at work, and the first way worked fine, so, I guess it was an error on my part late last night

Thanks for taking the time!
Reply With Quote
  #16  
Old June 17th, 2002, 12:53 PM
Member
 
Join Date: Oct 2001
Location: Sweden
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Essage is on a distinguished road
ignoring restart

My Apache doesn´t like what I did to the config-file. Here is what happened:

[localhost:/private/etc/httpd] admin% sudo apachectl restart
/usr/sbin/apachectl restart: configuration broken, ignoring restart
/usr/sbin/apachectl restart: (run 'apachectl configtest' for details)
[localhost:/private/etc/httpd] admin% sudo apachectl configtest
Syntax error on line 404 of /etc/httpd/httpd.conf:
AllowOverride not allowed here
[localhost:/private/etc/httpd] admin% sudo emacs httpd.conf


Anyone who got an idea of what might me wrong?

/Essage
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
password problems with apache macidiot Design & Media 1 January 31st, 2003 11:55 PM
password protect a document/file chicodoggy Mac OS X System & Mac Software 2 October 6th, 2002 12:49 PM
updating from 10.1.x to 10.2 turns off password protection for apache served websites couzteau Unix & X11 6 September 25th, 2002 04:43 PM
is it possible to password protect folders? Torz Mac OS X System & Mac Software 8 September 14th, 2002 12:08 PM
[HOWTO] - Password protect files and/or folders? themacko HOWTO & FAQs 5 June 19th, 2002 06:34 PM


All times are GMT -5. The time now is 11: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.