~ubuntu-branches/ubuntu/hardy/drupal5/hardy-security

« back to all changes in this revision

Viewing changes to .htaccess

  • Committer: Bazaar Package Importer
  • Author(s): Emanuele Gentili
  • Date: 2008-02-13 18:37:02 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080213183702-0txo634fb8kyacst
Tags: 5.7-1ubuntu1
* Merge from debian unstable, remaining changes (LP: #191621):
  + debian/patches/02_htaccess:
    - Add RewriteBase /drupal5
  + debian/control:
    - Replace exim4 with postfix in Depends.
    - Modify Maintainer value to match DebianMaintainerField spec.

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
  #
79
79
  # To redirect all users to access the site WITHOUT the 'www.' prefix,
80
80
  # (http://www.example.com/... will be redirected to http://example.com/...)
81
 
  # adapt and uncomment the following:
 
81
  # uncomment and adapt the following:
82
82
  # RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
83
83
  # RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]
84
84
 
85
 
  # Modify the RewriteBase if you are using Drupal in a subdirectory and
86
 
  # the rewrite rules are not working properly.
87
 
  #RewriteBase /drupal
 
85
  # Modify the RewriteBase if you are using Drupal in a subdirectory or in a
 
86
  # VirtualDocumentRoot and the rewrite rules are not working properly.
 
87
  # For example if your site is at http://example.com/drupal uncomment and
 
88
  # modify the following line:
 
89
  # RewriteBase /drupal
 
90
  #
 
91
  # If your site is running in a VirtualDocumentRoot at http://example.com/,
 
92
  # uncomment the following line:
 
93
  # RewriteBase /
88
94
 
89
95
  # Rewrite old-style URLs of the form 'node.php?id=x'.
90
96
  #RewriteCond %{REQUEST_FILENAME} !-f
104
110
  RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
105
111
</IfModule>
106
112
 
107
 
# $Id: .htaccess,v 1.81.2.3 2007/09/21 12:24:22 drumm Exp $
 
113
# $Id: .htaccess,v 1.81.2.4 2008/01/22 09:01:39 drumm Exp $