hi, i have a server where numerous domains are served through apache virtual hosts. This is on debian sarge. So I make one file per domain in sites-available and symlink to sites-enabled. This is getting to be a bit of a bore. I would like the users to make their own vhost files and keep them in their home directories and to symlink from there to sites-enabled. My problem is this: if the user misconfigures, then how do i prevent him from crashing my apache?
On Tue, Sep 19, 2006 at 05:20:40PM +0530, Kenneth Gonsalves wrote:
i have a server where numerous domains are served through apache virtual hosts. This is on debian sarge. So I make one file per domain in sites-available and symlink to sites-enabled. This is getting to be a bit of a bore. I would like the users to make their own vhost files and keep them in their home directories and to symlink from there to sites-enabled. My problem is this: if the user misconfigures, then how do i prevent him from crashing my apache?
Exactly why you don't do this.
But try the command `apache2ctl configtest`.
On 19-Sep-06, at 6:25 PM, Satya wrote:
misconfigures, then how do i prevent him from crashing my apache?
Exactly why you don't do this.
but people do do this - i have used this feature when i had shell access in zettai.net
But try the command `apache2ctl configtest`.
if i have to do that, i might as well maintain the files myself
On 19-Sep-06, at 6:47 PM, Kenneth Gonsalves wrote:
misconfigures, then how do i prevent him from crashing my apache?
Exactly why you don't do this.
but people do do this - i have used this feature when i had shell access in zettai.net
i tried it out - deliberately put an error in one of the local host config files - no problem, apache reloaded, but didnt load the defective config file. w00t.