getting apache cgange stationary webpages fly


i have experimenting web analytics tool. requires square javascript formula total any page function. easy adequate some-more enterprising sites concept headers footers nonetheless totally stationary html pages.



i attempted work spin controlling multiple apache rewrites ssi's "wrap" stationary html mandatory code. example...



i finished following changes apache config



    rewriteengine on
rewritecond %{request_uri} !=test.shtml
rewritecond %{is_subreq} fake
rewriterule (.*)\.html test.shtml?$1.html


the test.shtml record contains...



    <script type="text/javascript">
var xxxxid = 'xxxxxxx';
</script>
<script src="http://xxxx.woopra.com/xx/xxx.js"></script>

<!--#set var="page" value="$query_string" -->
<!--#include virtual= $page -->


the thought ask opening



    /abc.html


would redirected



    /test.shtml?abc.html


the shtml following consolidate uncanny record response page.



unfortunately doesn't definitely work planed :) anyone i am doing wrong maybe advise an choice approach. there any apache modules same thing. preferably configured per site basis.



thanks



peter



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?