Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

HOWTO: Configure htaccess/htpasswd security on GoDaddy.com

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  DocumentRoot Rights Issue  
Author Message
MarkR

External


Since: May 27, 2005
Posts: 1



(Msg. 1) Posted: Fri May 27, 2005 6:10 pm
Post subject: HOWTO: Configure htaccess/htpasswd security on GoDaddy.com
Archived from groups: alt>apache>configuration (more info?)

Hi:

Couldn't find this info anywhere, so I thought I'd share how to enable
..htaccess/htpasswd security on a web site hosted on GoDaddy.com.

Assuming a hosted web site www.mysite.com which you connect to using the FTP
username johndoe, you should create the following .htaccess file in the
directory you wish to secure:

------- begin .htaccess -------
AuthUserFile /home/content/J/O/H/JOHNDOE/html/.htpasswd
AuthGroupFile /dev/null
AuthName "Password Protected Area"
AuthType Basic

<limit GET POST>
require valid-user
</limit>
-------- end .htaccess -----------

replacing the capital "J/O/H/JOHNDOE" with lowercase versions of the first
three letters of your username followed by your whole username. This path is
the absolute pathn you see when you first log in to your FTP site, and the
root directory of www.mysite.com.

Then create a .htpasswd file using the Apache htpasswd utility or one of the
many internet .htpasswd generators, and save it at the location you
specified above. If you're making it by hand, the format for the file is
username:passwordhash, where passwordhash is generated using the Unix
<crypt> command.

Good luck.
/m

 >> Stay informed about: HOWTO: Configure htaccess/htpasswd security on GoDaddy.com 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
use multiple .htpasswd files with one .htaccess - hi, how can i use multiple .htpasswd file with one .htaccess. do use one .htpasswd file with multiple .htaccess is easy. but i want it the other way round :) i know someone wrote a mod for apache but i can't rember its name. sadly, i can't use a..

use multiple .htpasswd files with one .htaccess - hi, how can i use multiple .htpasswd files with one .htaccess. to use one .htpasswd file with multiple .htaccess files is easy. but i want it the other way round :) i'm sure someone wrote a mod for apache but i can't rember its name. sadly, i can't use...

htaccess / https : dont re-type htpasswd ? - Hi All, I have created an application runing on a dedicated Linux-Apache webserver. The system is protected with a Apache-configured htaccess and can be used in https mode or not. << &lt;Directory /home/site1/web/mydir&gt; AuthName &...

NEed help with Godaddy password protection (.htaccess) - I have a site hosted by godaddy.com and I once had this working. This enabled me to password protect a directory, but now it does not work. DOes anybody out there know how to do this on godaddy hosting? They (godaddy tech support) say people are doing...

auth/.htaccess/.htpasswd: Works only with text-based brows.. - Hi group, I have a strange problem: I created .htaccess && .htpasswd with valid contents, set "AllowOverride All" etc... Everything is working fine on my local system (WinXP, Apache2, Firefox, IE6). But on my webserver only textbro...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]