apachectlには数種類の機能があります。
1.Apacheの起動
2.Apacheの停止
3.Apacheの再起動
4.Apacheの状態表示(Full)
5.Apacheの状態表示
6.Apacheの再起動
7.Apacheコンフィギュレーションファイルの文法チェック
[root@tl01 bin]# ./apachectl start ./apachectl start: httpd started [root@tl01 bin]#
[root@tl01 bin]# ./apachectl stop ./apachectl stop: httpd stopped [root@tl01 bin]#
[root@tl01 bin]# ./apachectl restart ./apachectl restart: httpd restarted [root@tl01 bin]#
[root@tl01 bin]# ./apachectl fullstatus Forbidden You don't have permission to access /server-status on this server. _________________________________________________________________ Apache/1.3.4 Server at www.hisapon.gr.jp Port 80 [root@tl01 bin]#
[root@tl01 bin]# ./apachectl status Forbidden You don't have permission to access /server-status on this server. _________________________________________________________________ Apache/1.3.4 Server at www.hisapon.gr.jp Port 80 [root@tl01 bin]#
[root@tl01 bin]# ./apachectl graceful ./apachectl graceful: httpd gracefully restarted [root@tl01 bin]#
[root@tl01 bin]# ./apachectl configtest Syntax OK [root@tl01 bin]#