Welcome Guest, Not a member yet? Register   Sign In
[lighttpd] rewrite rules for CI
#1

[eluser]_krc_[/eluser]
Hi guyz.

I have a problem with setting up rewrite rule for my CI project with lighttpd. I tried to search every solution over the web, trying many combinations and nothing works ;/.
Maybe You can help me out.

My current rewrite rule for apache was:

Code:
DirectoryIndex index.php
RewriteEngine on
RewriteCond $1 !^(index\.php|images|captcha|css|js|robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]

and the config from CI is:

Code:
$config['base_url']    = "http://localhost:8181/ci_demo/";
$config['index_page'] = "";
$config['uri_protocol']    = "AUTO";

Can You please tell me how the rewrite rule for lighty should look like in my case?

Thanks in advance


Messages In This Thread
[lighttpd] rewrite rules for CI - by El Forum - 09-30-2010, 01:53 AM
[lighttpd] rewrite rules for CI - by El Forum - 09-30-2010, 02:50 AM
[lighttpd] rewrite rules for CI - by El Forum - 09-30-2010, 03:15 AM
[lighttpd] rewrite rules for CI - by El Forum - 09-30-2010, 03:17 AM
[lighttpd] rewrite rules for CI - by El Forum - 09-30-2010, 03:31 AM
[lighttpd] rewrite rules for CI - by El Forum - 09-30-2010, 03:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB