mod_perl scripting module to allow better Perl script performance and easy integration with the web server.
Tag Archives: PHP
Apache Restart And Graceful Restart
During a normal restart, the server is stopped and then started, causing some requests to be lost. A graceful restart allows Apache children to continue to serve their current requests until they can be replaced with children running the new configuration.
Apache Sections
- Directory sections : refer to file system objects.
- Location sections : refer to elements in the address bar of the Web Page.
Apache Main Configuration File
The main configuration file of Apache server is httpd.conf
Apache Ports
http – port 80
https – port 443
Document Root
It is a location of files which are accessible by clients. By default, the Apache HTTP server in RedHat Enterprise Linux is configured to serve files from the /var/www/html/ directory.
Apache Stop
Use the following command to stop Apache service
service httpd stop
Apache Version
root@hp-Compaq-Presario-CQ40-Notebook-PC:~# apache2 -v
Server version: Apache/2.4.7 (Ubuntu)
Server built: Mar 10 2015 13:05:59
Apache Restart
Use the following command to restart Apache service
service httpd restart
Apache Start
Use the following command to start Apache service
service httpd start