" /> Braindump: avril 2004 Archives

« mars 2004 | Main | mai 2004 »

avril 05, 2004

List all connection on a Linux server

netstat -t will list all actives connections on a Linux server. See man netstat for more info.

avril 01, 2004

Webdav on Plesk 6

vhost.conf: code: AuthType Digest AuthName iCal AuthDigestFile "/home/httpd/vhosts/domain.com/dav.digest.passwd" require valid-user DAV On Order allow,deny Allow from All Options All Then add a user (if it's not the first user, drop the -c) from the prompt in /home/httpd/vhosts/domain.com/ : code: htdigest -c dav.digest.passwd iCal username chmod the DAV enabled directory for writing. This could be a security issue. Cgi scripts and telnet sessions from other users on the server will be able to write to this directory, however apache will not let anyone but the users you create above write through http. code: chmod 777 /home/httpd/vhosts/domain.com/httpdocs/ical

Plesk 6 special config in vhost.conf files

In Plesk 6.0 you can create a vhost.conf files in the virtualhosts domain directory to configure some special Apache directive: 1- create the vhost.conf files in /home/httpd/vhosts/mydomain.com/conf/vhost.conf 2- run /usr/local/psa/admin/bin/my_apci_rst which will force Plesk to discover its existence and bind it into the httpd.include. 3- restart Apache for the changes to take effect.