--- Ronny Haryanto <[EMAIL PROTECTED]> wrote:

> On Wednesday 25 January 2006 13:42, Ery Atmodjo
> wrote:
> > Maaf kurang infonya, saya tail -f
> /var/log/messages
> > lalu saya coba browse ke
> > http://no.ip.server.koe/limitedaccess, tidak
> muncul
> > pesan yang berkaitan dengan itu. Di browser,
> > halamannya tampil begitu saja. Saya juga coba
> lakukan
> > sambil tail -f /var/log/apache2/error_log dan juga
> > /var/log/apache2/access_log.  Hasilnya sama saja.
> 
> Let's isolate the problem first.
> 
> Pertama pastikan dulu .htaccessnya itu dibaca oleh
> apache dan tidak diignore. 
> Gampangnya kasih aja Deny all di situ.
>
http://httpd.apache.org/docs/1.3/misc/FAQ.html#htaccess-work
> Coba ganti "Directory" nya ke directory yg memang
> mau dilimit, jangan 
> parentnya.
> 
> Kalo udah pasti .htaccessnya tidak diignore, berarti
> isinya .htaccessnya yg 
> gak bener. Tapi kayaknya sih udah bener. Saya lebih
> cenderung 
> curiga .htaccessnya yg gak dibaca oleh apache.
>
http://httpd.apache.org/docs/1.3/misc/FAQ.html#dnsauth
> 
> Ronny
> 

Directory saya ganti ke directory yang mau dilimit :

<Directory :
"/var/www/localhost/htdocs/limitedaccess">

Saya coba browsing, muncul kotak form otentikasi. 
Saya coba login, tidak bisa. Kalau dicoba
berkali-kali, di browser muncul :

401 Authorization Required.
This server could not verify that you are authorized
to access the document requested. Either you supplied
the wrong credentials (e.g., bad password), or your
browser doesn't understand how to supply the
credentials required.

di /var/log/apache2/error_log :

[Wed Jan 25 17:55:16 2006] [error] [client
10.10.48.27] (13)Permission denied: Could not open
password file: /home/secret/.htpasswd
[Wed Jan 25 17:55:16 2006] [error] [client
10.10.48.27] user ery not found: /limitedaccess/

di /var/log/apache2/access_log :

10.10.48.27 - ery [25/Jan/2006:17:55:16 +0900] "GET
/limitedaccess/ HTTP/1.0" 401 462

di /var/log/messages tidak ada yang berhubungan dengan
hal di atas.

Saya coba googling dengan 401 authorization required,
tapi belum dapat jawabnya.

O ya, di .htaccess saya sudah coba ganti "require user
ery" dengan "require valid-user", saya chown .htpasswd
dengan apache:apache, tapi hasilnya masih sama, form
otentikasi muncul, tapi tidak bisa akses.

Kalau saya "deny all", tidak muncul form otentikasi,
dan akses ditolak.

Terima kasih sebelumnya.

Salam

Ery

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [EMAIL PROTECTED]
Arsip dan info milis selengkapnya di http://linux.or.id/milis

Kirim email ke