Redirect webpages or URLs using .htaccess
The .htaccess file is a powerful tool that most casual users have not yet discovered. Here I’ll show how to use it to redirect users from one site to another. For this example, we will redirect users from /techrx/test to http://tech-recipes.com
Category HTTP
How To Reboot the Apache Server Safely
What do you do when your server freezes? The following tutorial explains the safest steps for rebooting your Apache web server.
Category Apache web server
HTML Printing: Use a Style Sheet to Force a Page Break
Designing web pages for printing can be difficult. This tutorial explains how to force a printer to insert a page break.
Category HTTP
Rewrite domain.com to www.domain.com using htaccess in Apache
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.
Category Apache web server
Password protect a web directory with .htaccess
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.
Category Apache web server
Test the Apache Configuration File httpd.conf
After making changes to the Apache configuration file, testing the configuration before implementing it is a good practice.
Category Apache web server
Restart Apache without closing open connections
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.
Category Apache web server