Quote:
|
I`m trying to find a tutorial about configuration of Apache Share Server - one server with multiple accounts for different users. Does anybody knows how to do it ?
|
if you search google there many tutorial available ,
if you want to make one server with multiple acc aka multiple domain user
you have to create VirtualHost container
here is example; should be in your httpd.conf or any .conf in /etc/httpd/conf.d
and you must add user respectively in the system
<VirtualHost *:80>
ServerName unixman.pluto.com
ServerAdmin
admin@unixman.pluto.com
DocumentRoot /home/unixman/www
TransferLog /home/unixman/logs/access-log
</VirtualHost>
<VirtualHost *:80>
ServerName linuxman.mars.com
ServerAdmin
admin@linuxman.mars.com
DocumentRoot /home/linuxman/www
TransferLog /home/linuxman/logs/access-log
</VirtualHost>
Quote:
|
How to secure such a server ?
|
secure server or secure apache?
best way is hide your apache version
set below in your httpd.conf
ServerSignature Off
ServerTokens Prod
Quote:
|
Apache has an access to all applications, so somebody could execute php code and read sensitive informations from other users. How to prevent this ?
|
most important part is your programmer must be error free coding
ps, sorry my english
