How to use Zeus Rewrite for Zeus Web Server + Codeigniter, instead of Apache Mod Rewrite |
[eluser]Unknown[/eluser]
Hi everyone, I'm new to the forums but i've been using codeigniter for a few months now. It's excellent by the way. I just wanted to add this how-to post to help other developers using codeigniter with Zeus as their web server. Zeus web server is an alternative to Apache. I prefer Apache but had to upload to a clients hosting account and they use Zeus. Zeus doesnt use .htaccess files, instead you have to save a file in the root account as rewrite.script This script will work if you want to rewrite the index.php file: If found this code on : http://drupal.org/node/46508 but there was one slight change needed to work for codeigniter. I changed this line of code : Code: set URL = /index.php?q=%{SCRATCH:REQUEST_URI} to this line ( removed the ?q=% ) Code: set URL = /index.php%{SCRATCH:REQUEST_URI} It then allowed me to use other 3rd party software such as fckeditor etc. Hope this helps anyone looking for Codeigniter, Zeus, Rewrite Cheers Ross Code: RULE_0_START:
|
Welcome Guest, Not a member yet? Register Sign In |