Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: mark_s_tt on March 20, 2006, 01:18:42 PM

Title: httpd -X question
Post by: mark_s_tt on March 20, 2006, 01:18:42 PM
Hi

Does anyone know how to start httpd using the -X option within SME Server 6.

I've installed Apache::DB and need to use the -X to manually to force Apache to not fork.


Thanks
Mark.
Title: Re: httpd -X question
Post by: cactus on March 30, 2006, 11:34:20 AM
Quote from: "mark_s_tt"
Hi

Does anyone know how to start httpd using the -X option within SME Server 6.

I've installed Apache::DB and need to use the -X to manually to force Apache to not fork.


Thanks
Mark.
For SME7.0rc1 it should be done like this I think, other versions are probably the same:

You will probably have to modify the /etc/sysconfig/httpd file, but I think that that might also be managed by the template system, maybe the developers can give some more detail about it being under the template system or not.

However in that file is a line OPTIONS where you can specify parameters for the httpd service, if it is not under the template system you will have to edit it there, else you will have to use the template system architecture (SME's Developers Guide: Chapter 7. Configuration file templates (http://mirror.contribs.org/smeserver/contribs//gordonr/devguide/html/devguide.html#TEMPLATES)).