Project

General

Profile

« Previous | Next » 

Revision 11186

bugfix: web/people/Brad_Boyle/.htaccess: only forward requests for a term defined by Brad to the attribution/ subdir, so that Brad.vegpath.org shows a directory listing instead of forwarding right to the attribution doc

View differences:

.htaccess
3 3

  
4 4
SetEnvIf Request_URI ^ innermost_dir=Brad_Boyle
5 5

  
6
# auto-add trailing / (dir without trailing / is absolute filesystem path)
7
RewriteCond %{ENV:innermost_dir} =Brad_Boyle
8
RewriteRule ^/ %{REQUEST_URI}/ [discardpath,last,noescape,qsappend,redirect]
9

  
6 10
# dir without trailing / is provided as an absolute filesystem path
7 11
RewriteCond %{ENV:innermost_dir} =Brad_Boyle
8 12
RewriteCond $0 ^/ [ornext]

Also available in: Unified diff