yuankai / urlrewritefilter

Automatically exported from code.google.com/p/urlrewritefilter
Other
0 stars 0 forks source link

.js Library Files are not Loading post the ugrade of the application #172

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.hit the URL 
https://www.sampletest.com/scripts/isomorphic/ISC_Core.js?isc_version=v9.1p_2014
-05-13.js   and it doesn't download
2. hit the URL  
https:www.sampletest.com/scripts/isomorphic/ISC_Core.js?isc_version=v9.1p_2014-0
5-13. and it downloads
3. the rule available is as follows
^/script/(.*)([^1]\.js)(.*)$ 

What is the expected output? What do you see instead?
the .js files should get downloaded.

What version of the product are you using? On what operating system?
URLRewriter 2.6.0.jar on Solaris os in Weblogic server

Please provide any additional information below.

We are upgrading isomorphic SmartClient product in our application which is 
basically javascript.
when we make a build of the application and run locally on Win 7 on Tomcat it 
works fine and all .js files get downloaded.

However, when we try to place the .ear in weblogic running on Solaris, the 
libraries are not getting downloaded.

earlier the URL used to be as  
https://www.sampletest.com/scripts/isomorphic/ISC_Core.js?isc_version=6.5.1.js

now it got changed to 
https://www.sampletest.com/scripts/isomorphic/ISC_Core.js?isc_version=v9.1p_2014
-05-13.js

when we remove the last .js in the URL the file is getting downloaded.

we have not done any change to existing regex rule in the URLrewrite.xml which 
is as follows.
^/script/(.*)([^1]\.js)(.*)$

Please kindly let us know, if new rule needs to be added along with the 
existing one.
also please share the Regex which needs to added or modified.

Regards
Mohammed Shahid Nawaz

Original issue reported on code.google.com by Mohammed...@gmail.com on 11 Sep 2014 at 11:50

GoogleCodeExporter commented 9 years ago
on commenting of the rule the file is getting loaded, this is the another 
observation i have.

Regards
Mohammed Shahid Nawaz

Original comment by Mohammed...@gmail.com on 11 Sep 2014 at 12:05