Sunday, 15 March 2015

php - Cakephp pages redirect to 404 not found on windows server -



php - Cakephp pages redirect to 404 not found on windows server -

i have uploaded cakephp files on windows server,

i got error http error 404.0 - not found below pages.

http://exoticvoyages.ntechinfo.com/index/index http://exoticvoyages.ntechinfo.com/index/search http://exoticvoyages.ntechinfo.com/index/getcountry http://exoticvoyages.ntechinfo.com/countries/index

but, if redirect above pages http://exoticvoyages.ntechinfo.com/ working fine.

main .htaccess file

<ifmodule mod_rewrite.c> rewriteengine on rewritebase / rewriterule ^$ app/webroot/ [l] rewriterule (.*) app/webroot/$1 [l] </ifmodule>

app .htaccess file

<ifmodule mod_rewrite.c> rewriteengine on rewritebase /app/ rewriterule ^$ webroot/ [l] rewriterule (.*) webroot/$1 [l] </ifmodule>

webroot .htaccess file

<ifmodule mod_rewrite.c> rewriteengine on rewritebase /app/webroot/ rewritecond %{request_filename} !-d rewritecond %{request_filename} !-f rewriterule ^(.*)$ index.php [qsa,l] </ifmodule>

can give me solution?

check rewritebase .

take look, , here.

hope solve it.

php windows .htaccess cakephp windows-server-2003

No comments:

Post a Comment