2008-03-12 09:28:11 +01:00
|
|
|
# this file is used if you configure your scuttle for nice urls
|
|
|
|
# (see $cleanurls in config.inc.php)
|
|
|
|
|
|
|
|
Options +FollowSymlinks
|
2008-03-14 15:13:48 +01:00
|
|
|
# AcceptPathInfo On
|
2008-03-12 09:28:11 +01:00
|
|
|
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]
|