Edgewall Software

Changes between Initial Version and Version 1 of Ticket #4084, comment 11


Ignore:
Timestamp:
Mar 17, 2015, 8:28:30 AM (9 years ago)
Author:
Jun Omae

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4084, comment 11

    initial v1  
    44
    55This is what I saw in my /path/to/env/.htaccess file:
    6 
    7 ...
    8         # Keep the graphics and style sheet the way they are
    9         RewriteCond $1 !^(.*).css$
    10         RewriteCond $1 !^(.*).gif$
    11         RewriteCond $1 !^(.*).jpg$
    12         RewriteCond $1 !^(.*).png$
    13         RewriteRule ^(.*)$ index.fcgi/$1 [L]
    14 
    15 ...
    16 
     6{{{
     7# Keep the graphics and style sheet the way they are
     8RewriteCond $1 !^(.*).css$
     9RewriteCond $1 !^(.*).gif$
     10RewriteCond $1 !^(.*).jpg$
     11RewriteCond $1 !^(.*).png$
     12RewriteRule ^(.*)$ index.fcgi/$1 [L]
     13}}}
    1714So I went ahead and added an exclusion for .js as well and it worked!!
    18         # Keep the graphics and style sheet the way they are
    19         RewriteCond $1 !^(.*).css$
    20         RewriteCond $1 !^(.*).gif$
    21         RewriteCond $1 !^(.*).jpg$
    22         RewriteCond $1 !^(.*).png$
    23         RewriteCond $1 !^(.*).js$  # Added by Sheriff
    24         RewriteRule ^(.*)$ index.fcgi/$1 [L]
    25 ...
    26 
     15{{{
     16# Keep the graphics and style sheet the way they are
     17RewriteCond $1 !^(.*).css$
     18RewriteCond $1 !^(.*).gif$
     19RewriteCond $1 !^(.*).jpg$
     20RewriteCond $1 !^(.*).png$
     21RewriteCond $1 !^(.*).js$  # Added by Sheriff
     22RewriteRule ^(.*)$ index.fcgi/$1 [L]
     23}}}
    2724Hope this helps someone.