diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-04-21 08:44:44 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-04-21 08:44:44 +0000 |
commit | 4de56ed6623c57c1c767be192ffe2af5926fe598 (patch) | |
tree | f1ad8e46567874cbdaefdcf873cf9dee4af32355 /.htaccess | |
parent | 81478ceba0c1bbdaa43679b72ec6d4fd603f5d17 (diff) | |
download | semanticscuttle-4de56ed6623c57c1c767be192ffe2af5926fe598.tar.gz semanticscuttle-4de56ed6623c57c1c767be192ffe2af5926fe598.tar.bz2 |
Refactoring: rename sc_tags into sc_bookmarks2tags (and services, codes...)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@116 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 26 |
1 files changed, 19 insertions, 7 deletions
@@ -1,16 +1,28 @@ # this file is used if you configure your scuttle for nice urls # (see $cleanurls in config.inc.php) -Options +FollowSymlinks -# AcceptPathInfo On -RewriteEngine On -RewriteBase / -RewriteCond %{REQUEST_FILENAME} !-f -RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule ^([^/]+)/?(.*) $1.php/$2 [L] +#Options +FollowSymlinks +#RewriteEngine On +#RewriteBase / +#RewriteCond %{REQUEST_FILENAME} !-f +#RewriteCond %{REQUEST_FILENAME} !-d +#RewriteRule ^([^/]+)/?(.*) $1.php/$2 [L] # If you have Scuttle in subdirectories e.g. http://www.example.com/myscuttle/links/ # then you need to comment the precedent line and remove comment of the following one # (replace "myscuttle/links/" with your subdirectories name) #RewriteRule ^([^/]+)/?(.*) myscuttle/links/$1.php/$2 [L] + +#### + +# Rewrite clean URLs onto real files +<IfModule mod_rewrite.c> +Options +FollowSymlinks +RewriteEngine On +RewriteBase / +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteCond %{REQUEST_FILENAME}.php -f +RewriteRule ^([^/]+)/?(.*) $1.php?query=$2 [L,QSA] +</IfModule> |