Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > WebLock Problems

WebLock Problems
Thread Tools
Dedicated MacNNer
Join Date: May 2002
Location: Brooklyn, NY
Status: Offline
Reply With Quote
Aug 7, 2003, 10:55 AM
 
Hey,
I have a question about Weblock, the prefpane that enables password protection on your hosted web pages. Everything works beautifully, except when people with Windows IE try to load my page, they get "Page Cannot Be displayed". Works fine on Windows mozilla, works fine on everything for macs. Any ideas?

gabe
     
Dedicated MacNNer
Join Date: Aug 2002
Status: Offline
Reply With Quote
Aug 7, 2003, 10:59 AM
 
can we get a link to the program? There are a couple ways it could do the password protection, and we can't help you much if we don't know which.

--will
     
Zimwy  (op)
Dedicated MacNNer
Join Date: May 2002
Location: Brooklyn, NY
Status: Offline
Reply With Quote
Aug 7, 2003, 06:31 PM
 
Yeah, sorry, here's the link:

http://versiontracker.com/dyn/moreinfo/macosx/15579

Thanks for your help.

gabe
     
Dedicated MacNNer
Join Date: Aug 2002
Status: Offline
Reply With Quote
Aug 7, 2003, 08:51 PM
 
ok, can you post your .htaccess file?

what this piece of software does is create a file named .htaccess in the folder you specified. you won't be able to see this file normally (starts with a .), but you can view it by:
1) opening up a terminal
2) typing 'pico ' and then dragging the folder onto the window
3) it will put in a path to the folder, type '/.htaccess' afterwards, and hit return

then copy that output.

the .htaccess file is one of the ways apache does password protection. It should work on all browsers, so there's probably something that needs to be tweeked.

--will
     
Zimwy  (op)
Dedicated MacNNer
Join Date: May 2002
Location: Brooklyn, NY
Status: Offline
Reply With Quote
Aug 8, 2003, 08:42 AM
 
Thanks so much. Here's my htaccess file:

## This file was generated by Weblock 1.5.1 (Digital Cow Software)
## on Aug 7, 2003 at 12:44 PM
## See Weblock's Help/Tutorial for limitations on hand editing
## For technical assistance, please email weblock@digicow.net

## General Password Settings
AuthType digest
AuthName "Protected"

## User file location and authorized users
#AuthUserFile "/Users/gtaubman/Sites/.htusers"
AuthDigestFile "/Users/gtaubman/Sites/.htdigestusers"
#Require user

## Group file location and authorized groups
AuthGroupFile "/Users/gtaubman/Sites/.htgroups"
Require group Jeep

## Address Settings
#Order deny,allow
#Deny from all
#Allow from

## Applies to all of the above
#Satisfy any
     
Dedicated MacNNer
Join Date: Aug 2002
Status: Offline
Reply With Quote
Aug 8, 2003, 09:14 PM
 
odd, that looks like it should work.

is there some way to specify basic authentication via weblock. if there is try that, if there isn't then you'll end up doing it via commandline

I have no idea if that is the problem, but I have basic authentication working for windows clients, and the file is pretty simple:


.htaccess:
AuthType Basic
AuthName "Restricted"
AuthUserFile /path/to/file
Require valid-user

the /path/to/file file is made by typing htpasswd /path/to/file username
it will prompt you for the password (if the /path/to/file doesn't exist you need to run it as htpasswd -c ...)

the file will look like:
username:encryptedpassword
username2...


--will
     
   
Thread Tools
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -5. The time now is 02:17 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2