remove index.php from URL in codeigniter in windows azure -
i experimenting develop websites on windows azure platform. want remove index.php url in codeigniter project.
i found 1 solution here:
but, don't know web.config file in azure management panel?
can tell me exact location ? can change file website?
thanks.
this web.config should work codeigniter.
just create file called web.config , upload wwwroot folder on azure (the folder index.php is)
<?xml version="1.0" encoding="utf-8" ?> <configuration> <system.webserver> <rewrite> <rules> <rule name="rule" stopprocessing="true"> <match url="^(.*)$" ignorecase="false" /> <conditions> <add input="{request_filename}" matchtype="isfile" ignorecase="false" negate="true" /> <add input="{request_filename}" matchtype="isdirectory" ignorecase="false" negate="true" /> <add input="{url}" pattern="^/favicon.ico$" ignorecase="false" negate="true" /> </conditions> <action type="rewrite" url="index.php/{r:1}" appendquerystring="true" /> </rule> </rules> </rewrite> </system.webserver> </configuration>
let me know how on!
thanks
Comments
Post a Comment