Red Hat Training
A Red Hat training course is available for Red Hat JBoss Web Server
5.5.2. Running HTTP Server
The HTTP Server can be run with the provided
apachectl
script, which is located inside the /opt/redhat/ews/sbin
directory. The apachectl
script uses the configuration file /opt/redhat/ews/etc/sysconfig/httpd
. In this file you can edit and select startup parameters, such as the running of mpm
.
Apache
httpd
configuration files are located inside the /opt/redhat/ews/etc/httpd
directory. By default all supported modules are loaded and enabled (refer to Appendix A, Supported HTTP Modules). To disable some of the modules, comment out the respective modules in the httpd.conf
file (for module description refer to http://httpd.apache.org/docs/2.2/mod/).
Procedure 5.10. Running HTTP Server
Follow this procedure to start the HTTP Server:
- Run the command line as the root user.
- Run the following command to start the HTTP Server:
sbin/apachectl start
If you want your server to continue running automatically after a system reboot, add a call to theapachectl
script to your system startup files.Note
For complete documentation on how to start and stop the HTTP Server, refer to the files,docs/httpd/invoking.html
anddocs/httpd/stopping.html
respectively.