views:

569

answers:

2

I tried using an internal rewrite, but only the main page shows. Any access to, for example, http://www.example.com/logins/ will just return a 404 Not Found error.

How can I enable the mod_rewrite in a shared hosting environment (Godaddy in my case)?

+2  A: 

Have a look at the following article: http://bakery.cakephp.org/articles/view/mod-rewrite-on-godaddy-shared-hosting

dhofstet
s seen i change that htaccess code in the above url .but still it not works same problem exist
A: 

Unfortunately, even if you fix that problem you're likely to run into others due to overzealous (and probably misguided) security lockdowns on PHP.

Specifically, I currently can't get it working because the following PHP methods have "been disabled for security reasons:"

  • ini_get()
  • fopen()
  • readdir()
shannon
i don't understand why they would have an article on the Bakery about how to use .htaccess on Cake+Godaddy...if it's somehow impossible to run Cake due to PHP restrictions as you mentioned?
the0ther