Posted on: 2/16/2014 5:16:57 PM | Views : 617

i have windows hosting and website is in php. So i asked the hosting company where i can find the .htaccess file. and they said there is no .htaccess file in windows hosting i have to use web.config file to do website configuration.
I tried this simple code on my web.config but i got 500 - Internal server error.

<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.web> </system.web> <rewrite> <rule name="rule 1c" stopProcessing="true"> <match url="^([a-zA-Z]+)$" /> <action type="Rewrite" url="/index.php?category={R:1}" appendQueryString="true" /> </rule> </rewrite> </configuration>

Go to the complete details ...