mirror of
https://github.com/jimeh/dlist.git
synced 2026-02-19 07:56:41 +00:00
- renamed exec files from *.exc.php to *.exec.php - updated simple template - added local language names caching to cache/local_names.ini, language must be used before it can read the local name from the language file and cache it if not already cached git-svn-id: file:///Users/jimeh/Desktop/dlist/trunk@16 a5845835-ea0f-0410-a762-dd0bfe9bfde8
20 lines
720 B
Plaintext
20 lines
720 B
Plaintext
<IfModule mod_rewrite.c>
|
|
Options +FollowSymlinks
|
|
RewriteEngine On
|
|
|
|
# Uncomment the bollow lines if your server does not redirect
|
|
# to directories with a trailing slash in the url. For
|
|
# example, if "http://domain.com/dir" is not redirected to
|
|
# "http://domain.com/dir/" correctly. Then dList can handle
|
|
# it correctly instead of your server.
|
|
#RewriteCond %{REQUEST_FILENAME} -d
|
|
#RewriteCond %{REQUEST_URI} !/$
|
|
#RewriteCond %{REQUEST_URI} ^(.+)$ [OR]
|
|
#RewriteRule !^(.*)/$ /dlist/ [L]
|
|
|
|
# rewrite to dList if no index files found
|
|
RewriteCond %{REQUEST_FILENAME}/index.html !-f [NC]
|
|
RewriteCond %{REQUEST_FILENAME}/index.php !-f [NC]
|
|
RewriteCond %{REQUEST_FILENAME} -d
|
|
RewriteRule ^(.*)$ /dlist/
|
|
</IfModule> |