Project

General

Profile

« Previous | Next » 

Revision 8178

web/main/.htaccess: remove linewraps (of the form table.path.vg/_-term) used to create a newline for Google spreadsheets

View differences:

web/main/.htaccess
14 14
RewriteCond %{HTTP_HOST} ^www\.(.*)$
15 15
RewriteRule ^.*$ http://%1/$0 [discardpath,noescape,last]
16 16

  
17
# remove linewraps used to create a newline for Google spreadsheets
18
RewriteRule ^_-(.*)$ /$1 [discardpath,noescape,last,redirect]
19

  
17 20
# translate subdomain to path
18 21
RewriteCond %{HTTP_HOST} !=vegbiendev.nceas.ucsb.edu
19 22
RewriteCond %{HTTP_HOST} ^(.*)\.([^.]*\.[^.]*)$

Also available in: Unified diff