2 alternatif, httpd.conf only atau .htaccess alternatif 1 httpd.conf only: <Directory /path/to/be/protected> AuthName "Restricted Site" AuthType Basic AuthUserFile /path/to/passwordfile Require valid-user .... other directive </Directory>
alternatif 2: create file /path/to/be/protected/.htaccess isinya : AuthName "Restricted Site" AuthType Basic AuthUserFile /path/to/passwordfile Require valid-user edit httpd.conf: <Directory /path/to/be/protected> /* minimal AllowOverride AuthConfig , maksimalnya AllowOverride All */ AllowOverride AuthConfig .... other directive </Directory> kumudian biki file passwordnya : htpasswd /path/to/passwordfile username cheers *yg ga jago linux* > > HA> dear admin... > HA> saya mau memberikan password folder dari server apache > HA> saya, apa yang harus saya konfigurasikan , httpd.conf atau > HA> file yg lainnya ? > -- ______________________________________________ http://www.linuxmail.org/ Now with POP3/IMAP access for only US$19.95/yr Powered by Outblaze -- Utk berhenti langganan, kirim email ke [EMAIL PROTECTED] Informasi arsip di http://www.linux.or.id/milis.php3