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

.htaccess

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Partitions  
Author Message
Chris

External


Since: Oct 04, 2006
Posts: 1



(Msg. 1) Posted: Wed Oct 04, 2006 4:13 pm
Post subject: .htaccess
Archived from groups: alt>apache>configuration (more info?)

My host tells me .htaccess is enabled on the server

I created a folder in my webspace called /secure and uploaded a file called

..htaccess and .htpasswd. contents below. but it does not work.

Any idea what is wrong?



htaccess
/home/website1/secure/.htpasswd AuthGroupFile /dev/null AuthName "Security
Area" AuthType Basic <Limit GET POST> require valid-user </Limit>

htpasswd
test:test

 >> Stay informed about: .htaccess 
Back to top
Login to vote
Jerim79

External


Since: Oct 04, 2006
Posts: 3



(Msg. 2) Posted: Wed Oct 04, 2006 4:13 pm
Post subject: Re: .htaccess [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Chris wrote:
> My host tells me .htaccess is enabled on the server
>
> I created a folder in my webspace called /secure and uploaded a file called
>
> .htaccess and .htpasswd. contents below. but it does not work.
>
> Any idea what is wrong?
>
>
>
> htaccess
> /home/website1/secure/.htpasswd AuthGroupFile /dev/null AuthName "Security
> Area" AuthType Basic <Limit GET POST> require valid-user </Limit>
>
> htpasswd
> test:test

I don't know the answer to your problem, but I recently read that the
use of .htaccess is not the preferred method of doing security on a
directory. The recommendation was to define the access in the main
configuration file for Apache. By looking for .htaccess in every
directory, this slows down the performance of Apache.

 >> Stay informed about: .htaccess 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 3) Posted: Wed Oct 04, 2006 5:19 pm
Post subject: Re: .htaccess [Login to view extended thread Info.]
Imported from groups: per prev. post (more info?)

This message is not archived
 >> Stay informed about: .htaccess 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Can I use .htaccess in cgi-bin? - I'm trying to install the YaBB bulletin board. As part of the install process, I'm told to set up some .htaccess files in cgi-bin. However, apache seems to be ignoring these files. My .htaccess file contains the following: AuthUserFile /dev/null..

htaccess - Hi Im trying to block certain isp's in an htaccess file but one of them is my isp and dont want to block me. I have a static ip address, what is the format for this in the htaccess file Thanks Willie

.htaccess: why??? - Hi. Sorry for my english, but I don't know it very well. I have a problem with .htaccess. My file .htaccess is this: ====BEGIN======== AddType text/plain .log =====END========= I made it because my apache web server (provider aruba) associate to .log....

htaccess & SSL - I would like to control with htaccess the acces for one directory of my site. But I don't know how to configure my htaccess to limit the access from "https://". Thank's Edz ...

htaccess with SQL - Hi, I have a problem (well more than one), I want to use htaccess to allow users in an MySQL database to gain access to the specified directory only when there authorization in the database is good. e.g. person1 when with authorization level 1 gains no..
   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 ]