can not remove index.php in IIS hosting (ISAPI) server |
[eluser]Dhanapal MCA[/eluser]
Hi Brothers, my website working fine in apache server, but my hosting server is IIS, (ISAPI) server, i can't remove index.php. www.mysite.com/index.php/blog/ - is working fine in IIS hosting server. www.mysite.com/blog - is not working, in IIS hosting server, will u plz help me.
[eluser]Akinzekeel[/eluser]
Did you set up the URL Rewriting in IIS? You can import the rules from the .htaccess file.
[eluser]Dhanapal MCA[/eluser]
yes i used .htaccess file its working fine in apache server but its not working in IIS server.
[eluser]Akinzekeel[/eluser]
What do you mean by "used .htaccess", did you *import* it? IIS does not use .htaccess files, they will only work with Apache. Take a look at this walkthrough about IIS URL Rewrite: http://learn.iis.net/page.aspx/470/impor...ite-rules/
[eluser]PhilTem[/eluser]
Does your hosting server allow using .htaccess files? If not you won't be able to get it working ![]()
[eluser]Dhanapal MCA[/eluser]
yes, how to import .htaccess in my hosting server, only i upload .htaccess file in my hosting server, but its not working fine, and this is my .htaccess file: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /mysite/index.php/$1 [L]
[eluser]Akinzekeel[/eluser]
Please read the section "Convert mod_rewrite Rules" in the link that I posted above. It explains how to import .htaccess to IIS.
[eluser]Dhanapal MCA[/eluser]
"Convert mod_rewrite Rules", this is explain in localhost, but i need "Convert mod_rewrite Rules" in my hosting server, plz help me. |
Welcome Guest, Not a member yet? Register Sign In |