I'm using Visual WebGui to develop Web application, How can I force IIS to change the html base tag in the html file?
+1
A:
IIS serves files, so unless the file it serves has an <html>
root tag it won't serve it.
It you are using .net, change the <html>
tag in the template.
Also: Why would you want to?
If you are trying to send xml files, you can just have:
<xml>
<html>
<body>
</body>
</html>
</xml>
No need to remove the tag.
asperous.us
2009-07-20 22:33:08
+1
A:
IIS won't do this by itself. In order to accomplish this you would have to develop your own custom ISAPI filter (or find a 3rd party ISAPI dll that already does this).
Joel Etherton
2010-01-23 01:03:21