Project

General

Profile

« Previous | Next » 

Revision 8377

web/VegBank/.htaccess: RewriteRule: Fixed bug where need to match tables by themselves as well as followed by columns

View differences:

web/VegBank/.htaccess
13 13
# handle DirectoryIndex (this must be at this position in the rules)
14 14
RewriteRule ^(.*/)?index\.php$ $1 [discardpath,noescape]
15 15

  
16
RewriteRule ^$             http://vegbank.org/get/index/dba_tabledescription                                                                                           [discardpath,noescape,last]
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]
16
RewriteRule ^$                  http://vegbank.org/get/index/dba_tabledescription                                                                                           [discardpath,noescape,last]
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