I installed CodeIgniter_1.7.2 into /root/httpd/hiawatha. I don't use Toolkit. I can see welcome page to access http://lacalhost/CodeIgniter_1.7.2/?welcome. I see "404 Not Found" to access http://lacalhost/CodeIgniter_1.7.2/welcome.
Why "?" need? Can "?" remove?
Hugo Leisink
26 January 2010, 15:07
You should ask that question at the CI forum. Why CI needs or does not need the question mark, I don't know. I didn't create CI.
kaz
26 January 2010, 15:24
CI don't need "?". CI work to access http://lacalhost/CodeIgniter_1.7.2/welcome with apache. I want to use hiawatha because of smaller and faster.
localhost/CodeIgniter_1.7.2/A ---> localhost/CodeIgniter_1.7.2/?A or localhost/CodeIgniter_1.7.2/A/B ---> localhost/CodeIgniter_1.7.2/?A/B or localhost/CodeIgniter_1.7.2/A/B/C ---> localhost/CodeIgniter_1.7.2/?A/B/C or localhost/CodeIgniter_1.7.2/A/B/C/D ---> localhost/CodeIgniter_1.7.2/?A/B/C/D
Hugo Leisink
27 January 2010, 17:46
Try this one:
UrlToolkit { ToolkitID = codeigniter RequestURI exists Return Match ^/CodeIgniter_1.7.2/(index\.php|images|robots\.txt) Return Match .* Rewrite /CodeIgniter_1.7.2/index.php }
Ask at the CI forum what to do with the CodeIgniter_1.7.2 subdirectory. It probably requires a setting in the CI code or database.
kaz
28 January 2010, 00:30
Thak you for your advise. But not operate.
I give up. I cannot change WebsiteRoot and use VirtualHost in my PC. it work fine only with Hiawatha , but not fine with LAMP. I have no idea. Maybe it cause only my PC.
I use no-change WebsiteRoot and no-VirtualHost and to add "?" in URL by my php script.
Hugo Leisink
28 January 2010, 12:32
I can assure you, CI works with Hiawatha. I used to work for a company that uses CI to create websites. Of course, I had Hiawatha installed on my developer machine.