> $ grep "ServerType" /path/to/httpd.conf
> $ grep "Port" /path/to/httpd.conf
> $ grep "Listen" /path/to/httpd.conf
> $ grep "User" /path/to/httpd.conf
ini maksudnya apa ya Oom? untuk mengecheck baris script bagian "tertentu"
yang ada di httpd.conf ya?
yang jelas directory /path/to/ itu nggak ada Oom....
jangan-jangan harusnya /path/to itu diganti dengan /etc/apache kali yaa....
Ok gini kelanjutannya:
# grep "ServerType" /etc/apache/httpd.conf
# ServerType is either inetd, or standalone. Inetd mode is only supported
on
ServerType standalone
# If your ServerType directive (set earlier in the 'Global Environment'
# grep "Port" /etc/apache/httpd.conf
# Port: The port to which the standalone server listens. For
Port 80
# Port to form a "canonical" name. With this setting off, Apache will
# Portugese (pt) - Luxembourgeois* (ltz)
# Polish (pl) - Brazilian Portuguese (pt-br) - Japanese (ja)
$ grep "port" /etc/apache/httpd.conf
# ServerType is either inetd, or standalone. Inetd mode is only supported
on
# ports, in addition to the default. See also the <VirtualHost>
# BindAddress: You can support virtual hosts with this option. This
directive
# Dynamic Shared Object (DSO) Support
# Note: The order in which modules are loaded is important. Don't change
# Port: The port to which the standalone server listens. For
# ports < 1023, you will need httpd to be run as root initially.
# use the hostname:port that the client supplied, when possible. This
# information on the fly. Note: Not all browsers support this.
# support keepalive when it is used on 301 or 302 (redirect) responses.
# Allow server status reports, with the URL of
http://servername/server-status
# Allow remote server configuration reports, with the URL of
# There have been reports of people trying to abuse an old bug from pre-1.1
# support/phf_abuse_log.cgi.
# grep "Listen" /etc/apache/httpd.conf
# is used to tell the server which IP address to listen to. It can either
# Port: The port to which the standalone server listens. For
$ grep "User" /etc/apache/httpd.conf
LoadModule userdir_module libexec/mod_userdir.so
LoadModule usertrack_module libexec/mod_usertrack.so
AddModule mod_userdir.c
AddModule mod_usertrack.c
# If you wish httpd to run as a different user or group, you must run
# User/Group: The name (or #number) of the user/group to run httpd as.
# . On SCO (ODT 3) use "User nouser" and "Group nogroup".
# suggested workaround is to create a user www and use that user.
# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is received.
<IfModule mod_userdir.c>
> $ grep "80" /etc/rc.d/* ,kalo permission denied coba pake root..
/etc/rc.d/ps.txt:root 1 0.5 0.0 480 228 ? S 00:49
0:04 init
/etc/rc.d/ps.txt:root 304 0.0 0.2 1480 552 ? S 00:49
0:00 /usr/sbin/crond -l10
/etc/rc.d/rc.modules:# USB Mustek MDC800 Digital Camera Support:
/etc/rc.d/rc.modules:#/sbin/modprobe mdc800
/etc/rc.d/rc.modules:#/sbin/modprobe ne io=0x280 # NE2000 at 0x280
/etc/rc.d/rc.modules:# Western Digital WD80*3 (and clones) support:
/etc/rc.d/rc.modules:# RealTek 8129/8139 (not 8019/8029!) support:
/etc/rc.d/rc.modules:# DTC 3180/3280 SCSI support:
/etc/rc.d/rc.modules:# Generic NCR5380/53c400 SCSI support:
/etc/rc.d/rc.modules:#/sbin/modprobe g_NCR5380
/etc/rc.d/rc.modules:# Floppy tape support (such as Colorado Jumbo 250 or
other QIC-80 drives):
Yang ini perintah untuk check modul yang diload ya?
># /usr/sbin/httpd -t
Ini cuma buat check syntax penulisan script di httpd khan?
yang keluar syntax ok.
Sepertinya masih di tracking satu-satu, menarik juga cara melacaknya....
terimakasih.....
Salam,
P(emula)-Man
--
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip dan info di http://linux.or.id/milis.php
FAQ milis http://linux.or.id/faq.php