----- Original Message -----
From: Arief Y <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 07, 1999 11:20 AM
Subject: [setup] tolong setup apache


> Haloo Linuxers ...Saya sedang belajar web server dengan apache pada RH
6.1.
> Sekedar kemajuan, saya berhasil mensetup personal homepage untuk user
yudi.
> Sesuai petunjuk /etc/httpd/conf/srm.conf :
>   # UserDir: The name of the directory which is appended onto a user's
home
> # directory if a ~user request is recieved.
> UserDir public_html
> Saya buat direktori public_html di /home/yudi dan bisa dipanggil pakai:
> http://localhost/~yudi
> Oh ya, sebelumnya saya lupa tidak menset go+x di direktori user yudi.
> Sehingga muncul tampilan forbidden akses, tapi setelah saya ubah menjadi
> executable akhirnya bisa, termasuk direktori public_html (ini mestinya
tadi
> akan saya tanyakan di milis ini, untungnya sudah ketahuan salahnya..)
>
> Pertanyaan 1:
> Lalu bagaimana mensetup agar direktori di luar server root
(/home/httpd/html)
> bisa diakses ? Rencananya saya akan me-mount partisi vfat saya dan bisa
> diakses -misalkan - pakai http://localhost/myWindows/
> dimana partisi windows ada di /dev/hda1 dan dimount di /mnt/hdC.
> Isi homepage diletakkan di direktori /mnt/hdC/myHomepage
> Jadi rencananya saya akan membuat semacam web server yg bisa diakses pakai
> dial-up, jadi linux box ini akan jadi dial-up server.

pake
Alias /myWindows/ /mnt/hdC/myHomepage/"

<Directory "/mnt/hdC/myHomepage">
    Options Indexes Includes MultiViews
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>


> Pertanyaan 2:
> Saya sudah mengisi setting seperti ini di file
/etc/httpd/conf/access.conf:
> <Directory /home/yudi/public_html/cgi-bin>
> AllowOverride None
> Options ExecCGI
> </Directory>
> Kemudian saya coba panggil:
> http://localhost/~awarmanf/cgi-bin/hello.pl
> Tapi yang ditampilkan malah isinya hello.pl, padahal sudah saya chmod 755.

pake ALL jangan none :)

<Directory /home/*/public_html/cgi-bin>
AllowOverride All
Options ExecCGI
</Directory>


>
> Pertanyaan 3:
> Saya edit file /etc/httpd/conf/access.conf:
> # Allow access to local system documentation from localhost
> Alias /doc /usr/doc
> <Directory /usr/doc>
> # order deny,allow -> yg asli
> order allow,deny
> # deny from all -> yg asli
> allow from localhost
> Options Indexes FollowSymLinks
> </Directory>
> Tapi waktu saya panggil:
> http://localhost/doc       -> Forbidden !
> http://localhost/usr/doc       ->  Not Found !
> Berikut ini saya nukilkan isi error_log
> [Sat Nov  6 20:29:48 1999] [error] [client 127.0.0.1] client denied by
server configuration: /usr/doc
> [Sat Nov  6 20:29:56 1999] [error] [client 127.0.0.1] File does not exist:
/home/httpd/html/usr/doc

liat nomor 1

> Atas perhatian dan pencerahannya, saya haturkan banyak-banyak terimakasih.
> Lainkali kalau ada kesulitan setup dial-up server, pasti akan saya tanya
:-)
>
> TIA
>
> ~yudi
>
> NB: saya dulu pernah mantain IIS for NT 4.0, dan rasanya pakai apache agak
> mumet yah ?

gak syusah 2 amat koq

>
> --------------------------------------------------------------------------
> Utk berhenti langganan, kirim email ke [EMAIL PROTECTED]
> Informasi arsip di http://www.linux.or.id/milis.php3
> Pengelola dapat dihubungi lewat [EMAIL PROTECTED]
>
>
>


--------------------------------------------------------------------------
Utk berhenti langganan, kirim email ke [EMAIL PROTECTED]
Informasi arsip di http://www.linux.or.id/milis.php3
Pengelola dapat dihubungi lewat [EMAIL PROTECTED]

Kirim email ke