Apache Share server - how to configure
Hi Gurus,
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 ? How to secure such a server ? Apache has an access to all applications, so somebody could execute php code and read sensitive informations from other users. How to prevent this ? regards Dlugasx |
Quote:
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:
best way is hide your apache version set below in your httpd.conf ServerSignature Off ServerTokens Prod Quote:
ps, sorry my english :) |
also to secure apache, turn off public directory access.~public_html
|
All times are GMT -5. The time now is 07:49 PM. |