Revision 8376
Added by Aaron Marcuse-Kubitza over 11 years ago
.htaccess | ||
---|---|---|
5 | 5 |
RewriteCond %{QUERY_STRING} ^(?!&).+$ |
6 | 6 |
RewriteRule ^.*$ /dotpath.php%{REQUEST_URI} [discardpath,noescape,last] |
7 | 7 |
|
8 |
# don't rewrite existing paths |
|
9 |
RewriteCond %{REQUEST_FILENAME} -d [ornext] |
|
10 |
RewriteCond %{REQUEST_FILENAME} -f |
|
11 |
RewriteRule ^.+$ - [discardpath,noescape,last] |
|
12 |
|
|
13 |
# handle DirectoryIndex (this must be at this position in the rules) |
|
14 |
RewriteRule ^(.*/)?index\.php$ $1 [discardpath,noescape] |
|
15 |
|
|
8 | 16 |
RewriteRule ^$ http://vegbank.org/get/index/dba_tabledescription [discardpath,noescape,last] |
9 | 17 |
RewriteRule ^([^/]+)/(.*)$ http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&entity=dba_tabledescription&where=where_tablename&wparam=$1#$2 [discardpath,noescape,last] |
Also available in: Unified diff
web/**/.htaccess: Added "don't rewrite existing paths" and "handle DirectoryIndex" rules to all .htaccess files, not just those for dirs that contain subdirs, to facilitate linking directly to files in the filesystem without first needing to retrofit the applicable .htaccess file.