I suggets you change your webhost. Mod_rewrite is used by many modern php applications, and any provider worth their salt will allow for it.
If you do decide to switch I highly recommend DreamHost. They have great support, shell access, and all the standard apache modules. Use the promo code EDDIESAVES to get $50 off 1yr. (yes, I also get a nice referral payment, so its a win-win.) On Oct 4, 5:35 pm, Matias_castro <[email protected]> wrote: > Hi weveryone, > > I'm trying to deploy an already built application to a webhost with no > success. The main problem is that I'm not allowed to enable > mod_rewrite. > > At first that wasn't a problem since I changed everything to work with > the alternative configuration (uncommenting Configure::write > ('App.baseUrl', env('SCRIPT_NAME')); line in core.php + > deleting .htaccess files) and LOCALLY everything worked fine. The > problem was on the server. The css styles nor js files were found. > Then I realized that they were found if I removed de "/" from the > begining of the file's address (which means I'm not installed in the > webroot?). I can't change everything to work without this "/" because > all cakephp helpers automatically use it. > > The webhost made me install all files in an "httpdocs" folder. Is this > a problem?? I used the php command <?php echo $_SERVER > ['DOCUMENT_ROOT']; ?> which returned "/var/www/vhosts/xxxxx.cl/ > httpdocs". > > Any ideas?? anyone?? please help!!! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
