PDA

View Full Version : I am not sure about my AuthUserFile


zendigui
4-8-04, 06:59 AM
I don't know what to put after the www/.....
I have tried putting my username which is www/t/trimakassi/.htpasswd
second question I have is how do I make sure i upload the files in a binary way. I am using explorer to ftp my server, then I just drag and drop.

my .htpasswd is with the cgi-bin & htdocs

actual results:
I get the prompt message with the customized authName, I even get the username but I guess it doesn't find my htpasswd

thanks

James
4-8-04, 07:04 AM
You need to put a / before the path to your password file (i.e. /www/u/username/.htpasswd) if you don't allready have one... also, are you sure you spelled your username/path right?? We don't have a user by that name.

zendigui
4-8-04, 07:22 AM
Where do i get the username from I tried my zendigui which is my email username but nothing?? so /www/z/zendigui/.htpasswd
still nothing!!

zendigui
4-8-04, 07:24 AM
this is what it looks like

AuthUserFile /www/z/zendigui/.htpasswd
AuthGroupFile /dev/null
AuthName "Trimakassi VIP members Only"
AuthType Basic

require user issam

BerksWebGuy
4-8-04, 09:33 AM
You can find your absolute server path, go to OPS, 'packages' tab, then 'http (website)' tab, its in small bold print with 'DocumentRoot:...'

Check that to make sure you have the correct username.

(jj)
4-8-04, 10:04 AM
second question I have is how do I make sure i upload the files in a binary way.

These files should be uploaded in ASCII mode, not binary!!!

Upload them as htaccess.txt and htpasswd.txt, then change the names once they are uploaded.

Also, you can use require valid-user instead of having the actual user name in the .htaccess file.

AuthUserFile /www/t/trimakassi/.htpasswd
AuthGroupFile /dev/null
AuthName "Trimakassi VIP members Only"
AuthType Basic
require valid-user

zendigui
4-8-04, 02:42 PM
I can't find still can't find the document root on the page under the packages, http(website) this is what the page looks like

Website URL: http://trimakassi.com.
Temp URL: http://zendigui.temp.powweb.com
ServerName: trimakassi.com

Your site is hosted on: www05.powweb.com


--------------------------------------------------------------------------------

Secure URLs: https://zendigui.secure.powweb.com
https://trimakassicom.secure.powweb.com

Use the SSL URL you prefer. Both URL's go to your site.


--------------------------------------------------------------------------------

PowWeb currently has FrontPage 2002 Extensions installed on all our web servers. To install or manage your extensions click on the FrontPage box image on the left.

Warning: FrontPage Extensions do not work well with sites with more than 5,000 files. If you have more than this you may want to just use FrontPage to create your site and use its FTP capabilities to upload it.

zendigui
4-8-04, 02:44 PM
this is what I am getting when I try three times entering the password

Authorization Required
This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.

so it's defenitely the path that i am missing

(jj)
4-8-04, 02:47 PM
Hmm it is missing from the HTTP (Website) section.

Well, go to OPs and to Packages > FTP tab, your "FTP Home Directory" listed there is also your root path (shows your username)

BerksWebGuy
4-8-04, 02:59 PM
Yeah the Document Root is gone...wonder what happened. Seems like they're making changes and not telling us anything :rolleyes:

zendigui
4-8-04, 03:06 PM
finally found it on the ftp part but just as i guessed, the username was correct z/zendigui but I still have the same problem. my htpasswd is with the htdocs and cgi-bin there is however no logs file. I really don't know where to go from here

BerksWebGuy
4-8-04, 03:11 PM
Did you make this in a simple-text editor like notepad (not wordpad)?? Did you upload in ASCII (not binary)?? Are you putting the .htaccess file in the htdocs folder (or a subfolder is OK)??

zendigui
4-8-04, 03:22 PM
i did make both files using notepad and saving them with the default encoding ANSI. I uploaded the files by dragging them to ftp://username@ftp01.powweb.com, I then change the txt files to .htaccess and .htpasswd. Is that ASCII uploading??? .htaccess is in one of the subfolders. so I don't know....

BerksWebGuy
4-8-04, 03:26 PM
Maybe you can give PM a trusting board member with your FTP info (or setup temp FTP access). Then they can take a look. I'll take a quick glance if you want me to.

zendigui
4-8-04, 03:30 PM
the problem I found was in encrypting the the password. I though that was just an option. well apparently not. Everything worked perfectly well after I encrypted the password in the htpasswd section.

guys thank u very much for u're help!!

BerksWebGuy
4-8-04, 03:31 PM
Glad you finally got it going :cool: