I'am trying to write a rewrite rule and I would like to change this:
http://domain.de/adServer/js/first/sec/ADTECH?loc=300&alias=Home&misc=1429871690242
to:
http://domain.de/adServer/js/ADTECH.php?a=$1&b=$2
where $_Get in ADTECH.php shout be:
$_GET['a']=first | $_GET['b']=sec | $_GET['loc']=300 | $_GET['alias']=Home
The .htaccess-file will be placed in root/adServer/js. I tryed this without success:
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{REQUEST_URI} /adServer/js/(.*)/(.*)/ADTECH$
RewriteRule (.*)/(.*)/ADTECH$ /adServer/js/test.php?a=$1&b=$2
(My code brings the $_GET['a']=first | $_GET['b']=sec
as new parameters but whats to do with the given parameters?)