May
15

3 simple step to use .htaccess & .htpasswd

1) Create htpasswd

htpasswd -c /srv/www/htpasswd username —-> <insert password>

2) Put file named .htaccess
containing this lines:

#######################################
AuthUserFile  /srv/www/.htpasswd
AuthType Basic
AuthName "backend"
Require valid-user
#######################################

3) allow override in http.con as follow:

<Directory "/srv/www/htdocs">;
...
 
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
#   Options FileInfo AuthConfig Limit
AllowOverride AuthConfig
# Controls who can get stuff from this server.
Order allow,deny
Allow from all
 
...
</Directory>
Share in top social networks!

May
10

First DaghDocs Beta Release

Today I’ve released the first DaghDocs Beta to the world.
In the last 6 month I’ve work on developing, configuring, testing and developing and configuring and testing again and again and again, but now it’s ready !

I choose Google Code as platform of distribution.
Feel free to ask and suggest new feature, bugs and somethings else you think I need to know.

I hope my code is better then my English.

This is Google code link:

http://code.google.com/p/daghdocs

Share in top social networks!

Older posts «