Monday, October 24, 2011

changes in php.ini for use on cakePHP on fastCGI

On my host they are using fastCGI and I expect it to be the reason
that I am getting '500 Internal Server Error' messages.
On their website they say that you shouldn't make changes in htaccess,
as these should be made in php.ini as you are allowed to make a
php.ini for each subdir. In order to get the site running I have made
changes in htaccess in webroot, which means I can see the site, but
when I try to use an ajax function which works on my localhost I get
error 500.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /jalmar/index.php?url=$1 [QSA,L]
</IfModule>

So is there an expert in php.ini that can help in how it should be set
for cakePHP to work?

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate