Apache web server tutorials

HowTo: Reboot the Apache Server Safely

Contributed by MickeyMouse on January 22, 2006 under Apache web server

What do you do when you server freezes? This explains the safest steps for rebooting your apache webserver.

Comments
 

Rewrite domain.com to www.domain.com using htaccess in Apache

Contributed by qmchenry on December 27, 2003 under Apache web server

You may want all visitors to your site using www in front of your domain name (www.yourdomain.com) instead of just your domain name (yourdomain.com). By implementing a simple .htaccess RewriteRule, visitors to yourdomain.com will see the URL change in their browser as they are redirected to the correct URL.

Comments
 

Password protect a web directory with .htaccess

Contributed by qmchenry on October 8, 2003 under Apache web server

Apache references the .htaccess file in web document directories for access control information and other uses. A simple configuration allows password protection with multiple username/password combinations.

Comments
 

Test the Apache configuration file httpd.conf

Contributed by qmchenry on September 24, 2003 under Apache web server

After making changes to the Apache configuration file, it is a good practice to test the configuration before implementing it.

Comments
 

Stop Apache server processes

Contributed by qmchenry on under Apache web server

Comments
 

Restart Apache without closing open connections

Contributed by qmchenry on under Apache web server

After making changes to Apache’s configuration file (httpd.conf), it is necessary to restart Apache for the changes to take effect. A normal restart will close active connections which may cause problems for users.

Comments