[lighttpd] rewrite rules for CI |
[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 and the config from CI is: Code: $config['base_url'] = "http://localhost:8181/ci_demo/"; Can You please tell me how the rewrite rule for lighty should look like in my case? Thanks in advance
[eluser]_krc_[/eluser]
I tried that before, not working. Entering: http://127.0.0.1:8181/ci_demo/welcome/index shows: 404 - Not found
[eluser]_krc_[/eluser]
Apache is stopped and the 404 source is: Code: <?xml version="1.0" encoding="iso-8859-1"?> So I guess it's not CI either When I enter: http://127.0.0.1:8181/ - it show the index page in www, so it's working properly. When I turn off the rewrite rule, I can only get to: http://127.0.0.1:8181/ci_demo
[eluser]_krc_[/eluser]
also for the record, access log show this: 10.0.2.2 127.0.0.1:8181 - [29/Sep/2010:20:56:25 -0400] "GET /ci_demo/welcome/index HTTP/1.1" 404 345 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; pl; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10" |
Welcome Guest, Not a member yet? Register Sign In |