Miguel Beccari <[EMAIL PROTECTED]> writes: > > OK but is it possible to implement this on the > > mandrake security and how ? > > Thanx for your response ! > > Dich ! >
Hello there, there are already two apache web servers running on the mandrake security, in the default configuration. To configure a third one would be the same like on a standard Mandrake Linux distribution. For more details on this you should check how the httpd-naat (the web server through wich all the configuration is done on the snf) was configured. It's rather easy. On a new cooker snf (but this is pretty the same on the original one) one can do: rpm -qlv httpd-naat and it will get: -rw-r--r-- 1 root root 27873 nov 12 14:24 /etc/httpd/conf/httpd-naat.conf -rw-r--r-- 1 root root 2420 nov 12 14:24 /etc/httpd/conf/ssl/httpd-naat.mod_ssl.conf -rw-r--r-- 1 root root 6988 nov 12 14:24 /etc/httpd/conf/ssl/ssl.httpd-naat-vhost.conf -rw-r--r-- 1 root root 1298 nov 12 14:24 /etc/httpd/conf/vhosts/httpd-naat.Vhosts.conf lrwxrwxrwx 1 root root 24 nov 12 14:24 /etc/httpd/logs-naat -> ../../var/log/httpd-naat -rw-r--r-- 1 root root 129 nov 12 14:24 /etc/logrotate.d/httpd-naat -rwxr-xr-x 1 root root 6081 nov 12 14:24 /etc/rc.d/init.d/httpd-naat -rw-r--r-- 1 root root 117 nov 12 14:24 /etc/sysconfig/httpd-naat lrwxrwxrwx 1 root root 5 nov 12 14:24 /usr/sbin/httpd-naat -> httpd drwxr-xr-x 2 root root 0 nov 12 14:24 /usr/share/doc/httpd-naat-0.7 -rw-r--r-- 1 root root 745 jun 13 13:37 /usr/share/doc/httpd-naat-0.7/AUTHORS -rw-r--r-- 1 root root 1044 jun 13 13:37 /usr/share/doc/httpd-naat-0.7/COPYRIGHT -rw-r--r-- 1 root root 25265 jun 13 13:37 /usr/share/doc/httpd-naat-0.7/GPL drwxr-x--- 2 httpd-naadmin 0 nov 12 14:24 /var/log/httpd-naat drwxr-x--- 2 httpd-naadmin 0 nov 12 14:24 /var/www-naat/cgi-bin drwxr-x--- 2 httpd-naadmin 0 nov 12 14:24 /var/www-naat/html drwxr-x--- 2 httpd-naadmin 0 nov 12 14:24 /var/www-naat/icons drwxr-x--- 2 httpd-naadmin 0 nov 12 14:24 /var/www-naat/perl drwxr-x--- 2 httpd-naadmin 0 nov 12 14:24 /var/www-naat/squidGuard -rwxr-x--- 1 httpd-naadmin 151 nov 12 14:24 /var/www-naat/squidGuard/nulbanner.png -rwxr-x--- 1 httpd-naadmin 5057 nov 12 14:24 /var/www-naat/squidGuard/squidGuard.cgi You can adapt all that to add/configure another web server. All that is done using the standard apache package, of course. [florin@cooker_snf florin]$ rpm -qR httpd-naat ... apache >= 1.3.20 mod_php php-gd mod_ssl mod_auth_external sudo perl SnortSnarf dhcpstatus ... so, basically, you will need apache >= 1.3.20 mod_php php-gd mod_ssl mod_auth_external sudo perl if you're using authentication through ssl. When you are done and configure, for example, the new virtual server on port 81, you should allow the 81 port either for internal or external connections. cheers, -- Florin http://www.mandrakesoft.com
