/[qa]/trunk/pts/apache.conf
ViewVC logotype

Diff of /trunk/pts/apache.conf

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2925 by obergix, Fri Aug 31 08:16:25 2012 UTC revision 2926 by obergix, Thu Jan 31 14:36:36 2013 UTC
# Line 20  RewriteRule .* - [S=2] Line 20  RewriteRule .* - [S=2]
20  RewriteRule ^/\s*lib([^/\s])([^/\s]+)\s*$ /lib$1/lib$1$2.rdf [L,R]  RewriteRule ^/\s*lib([^/\s])([^/\s]+)\s*$ /lib$1/lib$1$2.rdf [L,R]
21  RewriteRule ^/\s*([^/\s])([^/\s]+)\s*$ /$1/$1$2.rdf [L,R]  RewriteRule ^/\s*([^/\s])([^/\s]+)\s*$ /$1/$1$2.rdf [L,R]
22    
23    RewriteCond %{HTTP_ACCEPT} !(text/turtle)
24    # If the Accept header doesn't request Turtle, then skip the following 2 lines
25    RewriteRule .* - [S=2]
26    RewriteRule ^/\s*lib([^/\s])([^/\s]+)\s*$ /lib$1/lib$1$2.ttl [L,R]
27    RewriteRule ^/\s*([^/\s])([^/\s]+)\s*$ /$1/$1$2.ttl [L,R]
28    
29  RewriteRule ^/$ /common/index.html [L,R]  RewriteRule ^/$ /common/index.html [L,R]
30  RewriteRule ^/favicon\.ico$ http://www.debian.org/favicon.ico [L,R]  RewriteRule ^/favicon\.ico$ http://www.debian.org/favicon.ico [L,R]
31  RewriteRule ^/\s*lib([^/\s])([^/\s]+)\s*$ /lib$1/lib$1$2.html [L,R]  RewriteRule ^/\s*lib([^/\s])([^/\s]+)\s*$ /lib$1/lib$1$2.html [L,R]
# Line 31  RewriteCond %{QUERY_STRING} ^src=\s*([^\ Line 37  RewriteCond %{QUERY_STRING} ^src=\s*([^\
37  RewriteRule ^/common/index.html$ /%1/%1%2.html? [L,R,NE]  RewriteRule ^/common/index.html$ /%1/%1%2.html? [L,R,NE]
38    
39  RewriteCond %{QUERY_STRING} ^srcrdf=\s*lib([^\s])([^\s]+)\s*$  RewriteCond %{QUERY_STRING} ^srcrdf=\s*lib([^\s])([^\s]+)\s*$
40  RewriteRule ^/common/RDF.html$ /lib%1/lib%1%2.rdf? [L,R,NE]  RewriteRule ^/common/RDF.html$ /lib%1/lib%1%2.ttl? [L,R,NE]
41  RewriteCond %{QUERY_STRING} ^srcrdf=\s*([^\s])([^\s]+)\s*$  RewriteCond %{QUERY_STRING} ^srcrdf=\s*([^\s])([^\s]+)\s*$
42  RewriteRule ^/common/RDF.html$ /%1/%1%2.rdf? [L,R,NE]  RewriteRule ^/common/RDF.html$ /%1/%1%2.ttl? [L,R,NE]
43    
44  </VirtualHost>  </VirtualHost>
45    

Legend:
Removed from v.2925  
changed lines
  Added in v.2926

  ViewVC Help
Powered by ViewVC 1.1.5