Forum: Apache configuration
08-28-2012, 06:28 PM
|
|
Replies: 2
Views: 1,025
Below code works well for non-www to www...
Below code works well for non-www to www redirects.
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
You can refer here:...
|
Forum: Apache configuration
08-28-2012, 06:25 PM
|
|
Replies: 1
Views: 1,147
|
Forum: Apache configuration
08-28-2012, 06:12 PM
|
|
Replies: 3
Views: 1,584
|
Forum: Apache configuration
08-28-2012, 05:55 PM
|
|
Replies: 2
Views: 733
There might be some compilation error with the...
There might be some compilation error with the rewrite rule in .htaccess. You can check in the apache error log which will show the line causing the error.
You can refer for a simple example of...
|
Forum: Apache configuration
08-28-2012, 03:49 PM
|
|
Replies: 2
Views: 1,309
|
Forum: Apache configuration
08-28-2012, 03:29 PM
|
|
Replies: 3
Views: 1,619
|