In a php project I still have a htaccess file with the rewrite. I'd like to transfer htaccess in my new project so that rules out it was done before the rules of UrlRewriter.
When I tried to convert htaccess rules to iis and add to web.config section rewrites I received an error:
HTTP error 500.19 - Internal Server Error
The requested page cannot be accessed because of incorrect configuration data for the page.
it usually indicates a problem with the web.config file syntax or configuration. Double-check the syntax of the rules you added, and ensure they are placed in the correct section of the web.config file.
export htaccess into umbraco project
I'm migrating my php project in the umbraco mvc project. In the new project I am using UrlRewriter:
In a php project I still have a htaccess file with the rewrite. I'd like to transfer htaccess in my new project so that rules out it was done before the rules of UrlRewriter.
When I tried to convert htaccess rules to iis and add to web.config section rewrites I received an error: HTTP error 500.19 - Internal Server Error The requested page cannot be accessed because of incorrect configuration data for the page.
Thanks
After I installed IIS URL Rewrite 2.0, the error 500.19 is gone. But if I add a rule in the web.config it doesn't work.
This is how you can translate a simple rewrite rule from an .htaccess file to the web.config format.
.htaccess rule.
Equivalent web.config rule.
You can add multiple rewrite rules inside the
it usually indicates a problem with the web.config file syntax or configuration. Double-check the syntax of the rules you added, and ensure they are placed in the correct section of the web.config file.
is working on a reply...