You are here:   Home Tags Subdomain

dnrestcom -The simplest way to learn!

Just the simplest way to learn all the things.
Tags >> Subdomain
Mar 03
2009

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

Posted by dnrestcom in Subdomain , Security , Linux , Apache

User Rating: / 1
PoorBest 

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....

 Subscribe!

Or enter your email address:

Info