I am going to live with a site running Codeigniter. I want to remove index.php from the url so instead:
http:
I get something like this:
http:
Still pretty simple. I used to use the mod-rewrite rule provided by the Codeigniter documentation:
RewriteEngine on RewriteCond $1 !^(index\.php|images|robots\.txt) RewriteRule ^(.*)$ /index.php/$1 [L]
It works like a charm. However, for this site I need to use the Zeus web server, not Apache, and I am not familiar with it at all. Zeus has its own rewriting rules, such as:
RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^[^/]*\.html$ index.php
will be as follows:
match URL into $ with ^/[^/]*\.html$ if matched then set URL = /index.php
Can someone help me rewrite the first rule for Zeus? Any help is greatly appreciated!
source share