Hi,
I'm trying this type of configuration without success:
what I need is:
a-b-c.mydomain.com:8080/directory/page-name.htm
need to be rewrite in
www.mydomain.com:8080/directory/xyz.php?param1=a-b-c¶m2=page-name
I'm trying to do this using configuration I read around but I find I'm not
able ... sigh!!
RewriteCond %{HTTP_HOST} !^www\.mydomain\.com [NC]
RewriteCond %{HTTP_HOST} !^mydomain\.com [NC]
RewriteRule
^http://([a-z0-9A-Z,\-]+)\.mydomain\.com:8080/directory/(.*).htm$
/directory/test.php?sd=$1&p=$2 [L]
Can you help me?
Thanks,
a.