Apache: Object not found |
[eluser]flokky[/eluser]
Hi, I have created a CI based website on my laptop, which is a Windows driven machine. Now I wanted to place the site on my Linux computer. The page comes on good, no error, stuff is fetched from the database. But when I click on ANY link, Apache is giving me the Code: Object not found! Can please someone point me in the right direction to look for this problem? I don't see any errors in the log file in the logs directory. Thanks
[eluser]flokky[/eluser]
Can please someone help me? The site is currently located at http://kothasselt.no-ip.org:8080/ Thanks
[eluser]flokky[/eluser]
I've used FreakAuth in that site for authenticating users This is what I used for the mod_rewrite, placed in .htaccess Code: <IfModule mod_rewrite.c> As indicated below the page : http://www.4webby.com/freakauth/document...light.html
[eluser]CI Lee[/eluser]
Lets start ruling things out... Try taking the .htaccess out, and see if your links work again.
[eluser]flokky[/eluser]
At the moment, I'm unable to log in on the server, but I'm pretty sure I tried without the .htaccess because I didn't had that file on my Win env. It was only after searching on the Freak Auth en CI site I added that file. I'm not sure if my Apache httpserver supports mod_rewrite. I've created a phpinfo page maybe you can see some things which might be wrong. That page is viewable at Code: http://kothasselt.no-ip.org:8080/test.php I appreciate your help, so thank you! EDIT:I've noticed I have PHP version 4.2.2. Is that version high enough? Could that explain my problem?
[eluser]flokky[/eluser]
As a follow-up, I removed the .htaccess file, but that didn't change the problem I'm facing. I'm still looking round, but I really have no clue what could be the cause of my problem. I've noticed when I fiddle around with the url, Apache is doing something wrong. This results in a 404 Code: http://kothasselt.no-ip.org:8080/forgottenpass.html When I change this a bit like this will work Code: http://kothasselt.no-ip.org:8080/index.php?forgottenpass Is there someone who can help me with this rather small - but tasty problem?
[eluser]flokky[/eluser]
As a final post to this problem, I've managed to 'workaround' this problem. I've tried re-installing Apache, PHP to the latest possible version (for RH9 server), NOTHING worked. I tried placing it on other servers and that worked without any problem. A few hours ago I've got enlighted: As explained in my previous post using the question mark and then the parameter seemed to work. First I've added the ? Code: $config['index_page'] = "index.php?"; Secondly I've removed the suffix html Code: $config['url_suffix'] = ""; Et voila, it worked! Finally found a solution after 5 days (luckily hobby time ![]()
[eluser]Valdemar[/eluser]
I had a similar problem with my migration from win to linux. It turned out that the .htaccess along with a suffix just doesn't seems to work fine. Removing the suffix did the trick. |
Welcome Guest, Not a member yet? Register Sign In |