Haven't found related forum section for this one, so I'll try to ask here.
Is it possible to:
I have a website, f.e www.domain.com, which works perfect, now on the development staging, I have SVN revisions deployed by Hudson (copies of website with different version), to access them, I use GET parameter "rv". www.domain.com/?rv=1.25.26
What I want now, is to know If it's possible at all, on the server side (Apache) upon request that has GET "rv" param, append to all files/styles/objects/javascripts or hrefs calling the "rv" version.
A bit messy?
This is my css/js import:
<link type="text/css" rel="stylesheet" href="?css=style"/>
<script type="text/javascript" src="?js=ajax&common&jquery"></script>
When I visit www.domain.com/?rv=1.25.26, I want apache to take this parameter and do this:
<link type="text/css" rel="stylesheet" href="?css=style&rv=1.25.26"/>
<script type="text/javascript" src="?js=ajax&common&jquery&rv=1.25.26"></script>
And for the rest as well. Javascripts, images, URLs(href), flash objects etc..
Is it possible? If yes, please point me to the right manual. Thanks.

New Topic/Question
Reply



MultiQuote




|