diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-04-12 08:42:47 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-04-12 08:42:47 +0000 |
commit | 69726b0d7b7741122ded6994692ff24173a7caee (patch) | |
tree | c64d5c91ffad08f10dbeb1e6e11a838284c1d1d3 /.htaccess | |
parent | 99e7c0ec7c630dde981cb5ee7c046e71833cfd50 (diff) | |
download | brdo-69726b0d7b7741122ded6994692ff24173a7caee.tar.gz brdo-69726b0d7b7741122ded6994692ff24173a7caee.tar.bz2 |
#56634: Resolve issues with varying $base_url
- Fix locations links in watchdog
- Fix repeated subdirectory in page cache CIDs
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -51,6 +51,18 @@ DirectoryIndex index.php <IfModule mod_rewrite.c> RewriteEngine on + # If your site can be accessed both with and without the prefix www. + # you can use one of the following settings to force user to use only one option: + # + # If you want the site to be accessed WITH the www. only, adapt and comment out the following: + # RewriteCond %{HTTP_HOST} !^www\.example\.com$ [NC] + # RewriteRule .* http://www.example.com/ [L,R=301] + # + # If you want the site to be accessed only WITHOUT the www. , adapt and comment out the following: + # RewriteCond %{HTTP_HOST} !^example\.com$ [NC] + # RewriteRule .* http://example.com/ [L,R=301] + + # Modify the RewriteBase if you are using Drupal in a subdirectory and # the rewrite rules are not working properly. #RewriteBase /drupal |