php - Grocery crud in windows hosting -


i have setup codeigniter on server , installed grocery crud on it. unfortunately server windows based , not support url rewriting , stuck using grocery crud it.

can explain solution this, searched grocery crud forum , found nothing.

regards

create file named web.config in web root , place following file

<?xml version="1.0" encoding="utf-8"?> <configuration>     <system.webserver>         <rewrite>             <rules>                 <rule name="rewrite index.php">                     <match url="index.php|robots.txt|images|test.php" />                     <action type="none" />                 </rule>                 <rule name="rewrite ci index">                     <match url=".*" />                     <conditions>                         <add input="{request_filename}" pattern="css|js|jpg|jpeg|png|gif|ico|htm|html" negate="true" />                     </conditions>                     <action type="rewrite" url="index.php/{r:0}" />                 </rule>             </rules>         </rewrite>     </system.webserver> </configuration> 

the above example used on codeigniter forums here.

you may need ensure $config['uri_protocol'] set auto


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -