To stop and start the server, run
/etc/rc.d/init.d/httpd with either
stop or start as an argument.
 | Please Note |
|---|
| | Before you can start your Red Hat Linux Secure Server, you must have either a test
certificate or a signed certificate installed. If you start the
httpd process without having a certificate
installed, your non-secure Web server will start, but your secure Web
server will not run.
So, if you start httpd, and your non-secure Web
server starts correctly, but your secure Web server is not running,
check to make sure that your certificate is in the right place:
/etc/httpd/conf/server.crt. You must have a test
or a signed certificate in
/etc/httpd/conf/server.crt or the secure Web
server will immediately exit (but the non-secure Web server will run
correctly).
|
To start your server, type the command:
/etc/rc.d/init.d/httpd start
|
Your server will start.
To stop your server, type the command:
/etc/rc.d/init.d/httpd stop
|
The command restart stops and then starts your
server:
/etc/rc.d/init.d/httpd restart
|
If you just finished editing something in your
httpd.conf file, you don't need to explicitly stop
and start your server. Instead you may use the
reload command:
/etc/rc.d/init.d/httpd reload
|