[ LUGOS ] swat
Borut Kurnik
borut.kurnik at add.si
Wed May 9 12:32:22 CEST 2001
Haloha!
Pri xinetd je /etc/xinetd.d direktorij, konf. datoteka je /etc/xinetd.conf
V /etc/xinetd.d direktoriju naj bo datoteka swat
Primer (moj je neaktiven), lahko pa ga uporabis in kar pozenes: chkconfig
swat on , ki ti bo aktiviral swat
(popravil bo sicer le disable na no, mislim pa da ga je kar dobro
uporabljati -> standardizacija skript na init.d)
, nato pa kar ponovno zazeni xinetd (/etc/rc.d/init.d/xinetd restart) oz. ga
prisili, da ponovno vcita kofiguracijo
(reload).
Borut
/etc/xinetd.d/swat ->
-------------------------------------------------------------------
# default: off
# description: SWAT is the Samba Web Admin Tool. Use swat \
# to configure your Samba server. To use SWAT, \
# connect to port 901 with your favorite web browser.
service swat
{
port = 901
socket_type = stream
wait = no
only_from = localhost
user = root
server = /usr/sbin/swat
log_on_failure += USERID
disable = yes
}
---------------------------------------------------------------------
-----Original Message-----
From: Robert Feri [mailto:krneki10 at hotmail.com]
Sent: Wednesday, May 09, 2001 12:20 PM
To: lugos-list at lugos.si
Subject: [ LUGOS ] swat
Zivjo
Poinstaliral sem si sambo, skonfiguriral smb.conf, dodal potreben port 901
in protokol v /etc/services, v /etc/xinetd.d sem vpisal
swat stream tcp nowait root /usr/local/samba/bin/swat swat in restartal
daemon.
Skratka predelal sem vec manualov na to temo in probal skorajda vse, vendar
ko v browser napisem http://localhost:901/ mi vrne:
Alert!: Unexpected network error; connection aborted
Unable to access document
Je mozno, da vse dela vendar nimam potrebnih html datotek v swat direktoriju
?
Mimogrede apache deluje brez tezav na localhostu ...
LP
Robert
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
More information about the lugos-list
mailing list