You are here:   Home Subdomain Redirection Using htaccess And mod_rewrite On Apache For Linux or Unix

dnrestcom -The simplest way to learn!

Just the simplest way to learn all the things.


Mar 03
2009

Subdomain Redirection Using htaccess And mod_rewrite On Apache For Linux or Unix

Posted by dnrestcom in SubdomainSecurityLinuxApache

In our few examples today (which won't cover much but should be explained with a good amount of detail), we're going to use a file named ".htaccess" (the dot at the beginning of the name is important!) placed in our web server's root folder (or base folder, etc) which contains the "mod_rewrite" rules. Our first example will implement the equivalent of a 3xx redirect using "mod_rewrite" instead of the more conventional methods. In order to implement this, just place the following content in your .htaccess file.

Continue reading....

Trackback(0)
Comments (0)add
Write comment

security image
Write the displayed characters


busy

 Subscribe!

Or enter your email address:

Links