mirror of
https://github.com/jimeh/dlist.git
synced 2026-02-19 07:56:41 +00:00
- removed timer.exc.php and put the needed intializer directly in view.php to get a more accurate reading from $timer->end() - updated .htaccess settings to they for once work 100% as they should, and added httpd_dlist.conf to respository to keep track of any changes/updates needed to the .htaccess file or apache config file (depending how you implement dList) git-svn-id: file:///Users/jimeh/Desktop/dlist/trunk@11 a5845835-ea0f-0410-a762-dd0bfe9bfde8
18 lines
580 B
Plaintext
18 lines
580 B
Plaintext
<IfModule mod_rewrite.c>
|
|
Options +FollowSymlinks
|
|
RewriteEngine On
|
|
|
|
# if dir requested without trailing slash,
|
|
# rewrite to dList which redirects to the
|
|
# dir with the trailing slash added.
|
|
RewriteCond %{REQUEST_FILENAME} -d
|
|
RewriteCond %{REQUEST_URI} !/$
|
|
RewriteCond %{REQUEST_URI} ^(.+)$ [OR]
|
|
RewriteRule !^(.*)/$ /dlist/view.php?shit
|
|
|
|
# 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/view.php
|
|
</IfModule> |