Search code examples
.htaccesscodeigniterphp4

CodeIgniter not working on PHP 4 server without .htaccess availability


Basically i developed my app on a localhost wamp server with PHP 5. ON uploading to the actual host i notice that

  1. The server is running php 4.4.9
  2. Everytime i upload my .htaccess file, the server removes it completely.. seems to not be allowed
  3. When i test out the set all i get is a 404 page not found

Any help on how to make it work on this PHP 4 server?


I did a test with CI 1.7.2, default installation.. works on my local server but when uploaded does not work, does this mean that the server does not support it?


Solution

  • Well i found out how to fix several things

    1. The issue with .htaccess would be to just not use modrewrite as such i put "query_string" option in my path variavable and this works.
    2. The other issue, which was the major issue was that i was using Datamapper library which is a php 5 only library.