diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-09-01 07:25:25 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-09-01 07:25:25 +0000 |
commit | 17bffb056ce2ffb7314d5b4b6b68b96dd72cb882 (patch) | |
tree | 929218c5b0c0696801f049f945bab0d694a6ea02 /.htaccess | |
parent | 5333b648a3cb2aa3cfa15d48011a80d4a65e155f (diff) | |
download | brdo-17bffb056ce2ffb7314d5b4b6b68b96dd72cb882.tar.gz brdo-17bffb056ce2ffb7314d5b4b6b68b96dd72cb882.tar.bz2 |
#80861 by m3avrck. Avoid clobbering subdomains in the example code.
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -58,12 +58,12 @@ DirectoryIndex index.php # # If you want the site to be accessed WITH the www. only, adapt and # uncomment the following: - # RewriteCond %{HTTP_HOST} !^www\.example\.com$ [NC] + # RewriteCond %{HTTP_HOST} ^example\.com$ [NC] # RewriteRule .* http://www.example.com/ [L,R=301] # # If you want the site to be accessed only WITHOUT the www. prefix, adapt # and uncomment the following: - # RewriteCond %{HTTP_HOST} !^example\.com$ [NC] + # RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC] # RewriteRule .* http://example.com/ [L,R=301] # Modify the RewriteBase if you are using Drupal in a subdirectory and |