Hi,
I am trying to get the content type of the request and do change the rewrite pattern. I could not get the content type of the request with the following code:
[i]RewriteEngine On
RewriteCond %{REQUEST_METHOD} GET
RewriteCond %{REQUEST_URI} ^(.*)First.html$
RewriteCond %{HTTP:Content-Type} ^(.*)text/text(.*)$
RewriteRule ^/myapp/First.html$ /myapp/Second.html [/i]
Here is my HTML code
[i]<HTML>
<HEAD>
<meta content="text/html;" http-equiv="Content-Type">
</HEAD>
<BODY>
<H5> First Page </H5>
</BODY>
</HTML>[/i]
Can anybody help me to get the content type from the request object?
Thanks a lot
Regards
Selvam S