|
#25
| ||||
| ||||
| On any machine, but sometimes... it'll only ask once! (even twice on a pc!) |
|
#26
| |||
| |||
| How about http://100.100.100.100/~user/dir/ How can I password protect the dir-directory? |
|
#27
| ||||
| ||||
| I find it very annoying that when people in this thread ask something that you don't get to see the answer! Please don't use private messages to answer! I, and I assume others as well, like to see the answers to those questions.
__________________ 500Mhz G4 powerbook "Wallstreet" - MacOS X 10.2.4 + 350Mhz G4 Umax S900 - MacOS X 10.2.4 + 233Mhz iMac - MacOS 9.2.2 + 200Mhz Powermac 4400 Mac OS 8.1 + P4 2.4 Ghz - Windows2000Server & XP pro + 366 Mhz Celeron - Redhat Linux 7.3 pro + 150 Mhz Pentium I - Susu Linux |
|
#28
| ||||
| ||||
| Certain Dirs for certain people Great guide/how to, works fine thanks Just a few questions though.... I have created 2 users using: sudo htpasswd -c .htpasswd username and I would like to delete one of them. How do I go about doing this? Next question.......... Is it possible to make a certain user goto a certain directory? For example: I have made a directory called 'remote' in my '...WebServer/Documents/' In there is the .htaccess file containing: AuthUserFile /private/etc/httpd/.htpasswd AuthGroupFile /dev/null AuthType Basic <Limit GET POST> require valid-user </Limit> In the 'remote' directory there a directory called 'guest' When someone goes to the 'remote' directory they will be prompted. If I put my username and pass in I will gain access to the 'remote' directory (like it does now). If i put the guest username and pass in I would like to be taken to the 'guest' directory in the 'remote' directory. Is this possible? if so how do i do it? Thanks |
|
#29
| ||||
| ||||
| I don't think so. These things work recursively. You COULD do something along the lines of what you are asking (not totally AFAIK), but it's ugly. I would just use different directories entirely. And to remove a user, just remove the entry in .htpasswd. |
|
#30
| ||||
| ||||
| Forbidden? Hi, Just had to reinstall my system, therefore having to set all this up again. I have a problem this time though. I have followed the tutorial about creating a symbolic link and having it protected. I have created a symbolic link from /Library/WebServer/Documents/music to /Users/oz/Music/iTunes/iTunes\ Music/ but now when I goto that directory I get a page with: Forbidden You don't have permission to access /music/ on this server Can anyone help? I have added the line in httpd.conf, which now looks like: Quote:
Last edited by owaters; March 16th, 2003 at 05:27 AM. |
|
#31
| ||||
| ||||
| Well either make sure that the permissions on the path to '/Users/oz/Music/iTunes/iTunes Music' is publicly accessible, or better yet, IMO, instead of a sym link use the Alias directive in httpd.conf. Sym links for a web server are a funny thing. Alias /music '/Users/oz/Music/iTunes/iTunes Music' That should work. |
|
#32
| ||||
| ||||
| Where should I put that line in httpd.conf? |
![]() |
| Thread Tools | |
|
|
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 |