Amahi Wiki
Page
Discussion
View source
History
Links
Wiki Home
Amahi Home
Amahi Apps
FAQ
Forums
Bug Tracker
Blog
Feature Gallery
Mailing Lists
Personal tools
Log in
Request account
Navigation
Recent changes
Help
Tools
Special pages
Printable version
Changes
From Amahi Wiki
Jump to:
navigation
,
search
← Older edit
Newer edit →
Require Login
(view source)
Revision as of 23:49, 10 August 2011
60 bytes added
,
23:49, 10 August 2011
→Create the Files
{{Code|htpasswd -b .htpasswd username password}}
*Copy the <code>.htpasswd</code> file to the web application path (i.e. /var/hda/web-apps/appname).
*Create the <code>.htaccess</code> file (change appname
in AuthName and AuthUserFile lines
; i.e. Linfo
and linfo respectively
):
{{Text|AuthName "appname Access"
AuthType Basic
AuthUserFile /var/hda/web-apps/
linfo
appname
/htpasswd
require valid-user}}
</blockquote>
Bigfoot65
Trusted,
Bureaucrats
,
Administrators
12,424
edits