LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-25-2011, 06:26 AM   #1
dlugasx
Member
 
Registered: Dec 2008
Location: Germany/Poland
Distribution: CentOS / Debian / Solaris / RedHat
Posts: 242

Rep: Reputation: 18
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
 
Old 12-26-2011, 01:33 AM   #2
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 770
Blog Entries: 6

Rep: Reputation: 75
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
 
Old 12-26-2011, 03:40 AM   #3
cbtshare
Member
 
Registered: Jul 2009
Posts: 561

Rep: Reputation: 42
also to secure apache, turn off public directory access.~public_html
 
  


Reply

Tags
apache, configuration, server, share


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i configure apache server shariq_majeed Linux - Newbie 9 01-24-2011 07:40 PM
how to configure apache server srini406 Linux - Newbie 1 02-07-2010 07:34 PM
Configure apache to use windows share as webroot ? fuzioneer Linux - Software 8 01-14-2010 05:13 AM
how to configure apache server? opsagar123 Linux - Newbie 2 05-20-2009 03:54 PM


All times are GMT -5. The time now is 02:56 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration