Forum

CodeIgniter 2.0.2

René
20 May 2011, 09:24
Hiawatha version: 7.4_1
Operating System: FreeBSD 8.2

Hi Hugo,

I have installed CodeIgniter 2.0.2 on my Hiawatha webserver. I've tried the examples in thisthread [www.hiawatha-webserver.org] and the example from the howto and all I got is a 404 page not found. Not sure what to do next...

My hiawatha.conf:

UrlToolkit {
ToolkitID = codeigniter
RequestURI exists Return
Match ^/(index\.php|images|robots\.txt) Return
Match .* Rewrite /index.php
}

VirtualHost {
Hostname = 192.168.1.100
WebsiteRoot = /usr/local/www/codeigniter
StartFile = index.php
AccessLogfile = /var/log/hiawatha/access.log
ErrorLogfile = /var/log/hiawatha/error.log
TimeForCGI = 5
UseFastCGI = PHP5
UseToolkit = codeigniter
ExecuteCGI = yes
# EnablePathInfo = yes
}



Cheers
Hugo Leisink
20 May 2011, 17:49
The UrlToolkit at the HOWTO page works for me. Try adding "TriggerOnCGIstatus = no" to your virtual host configuration block.
René
21 May 2011, 04:09
The little trick did it for CI 1.7.3 but not for version 2.0.2 maybe its because version 2.0.2 have a different directory layout...
Thanks.
René
21 May 2011, 05:12
Tried without fastcgi and with the default UrlToolKit and I got the plonker by the balls. It's working

Now he is screaming for a user_guide not found...
René
21 May 2011, 07:41
Okay, got it working but the user_guide remains.
Hugo Leisink
21 May 2011, 07:57
Place a .hiawatha inside the user_guide directory containing:
StartFile = index.html
René
21 May 2011, 08:51
ALRIGHTY!!! That did it. Thanks big guy
This topic has been closed.