He dropped out of NYU a semester prior to graduation, modeled for a while, invented open-source software still in use by some taxi-cab drivers and went on to be named in the MIT Technology Review TR35 as one of the top 35 innovators in the world under the age of 35 (2008) and devised what […]
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 /p>
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.
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.
After making changes to the Apache configuration file, testing the configuration before implementing it is a good practice.
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.