Mod_rewrite No idea

2 messages Options
Embed this post
Permalink
Mateusz Kaczanowski

Mod_rewrite No idea

Reply Threaded More More options
Print post
Permalink

Hi. I've got problem with mod rewrite. When i put my app into remote
server i get

Warning: include(cake/bootstrap.php) [function.include]: failed to
open stream: No such file or directory in /home3/kaczano/public_html/
ajax1/app/webroot/index.php on line 81

I done sudo chmod 777 -R, fur sure. But still didn't work. I have
enabled mod_rewrite on server but I don't have permission to change
AllowOverride All

/ajax1/.htaccess
<------------------------------------------------->
<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteRule    ^$ app/webroot/    [L]
   RewriteRule    (.*) app/webroot/$1 [L]
</IfModule>
<------------------------------------------------->
/ajax1/app/.htaccess

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule    ^$    webroot/    [L]
    RewriteRule    (.*) webroot/$1    [L]
 </IfModule>
<------------------------------------------------>
 /ajax1/app/webroot/.htaccess

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

Please help!!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Mateusz Kaczanowski

Re: Mod_rewrite No idea

Reply Threaded More More options
Print post
Permalink
Okay. I solve that. just update my cakephp verison. I don't know why but it's working

2009/11/3 kangur91 <[hidden email]>

Hi. I've got problem with mod rewrite. When i put my app into remote
server i get

Warning: include(cake/bootstrap.php) [function.include]: failed to
open stream: No such file or directory in /home3/kaczano/public_html/
ajax1/app/webroot/index.php on line 81

I done sudo chmod 777 -R, fur sure. But still didn't work. I have
enabled mod_rewrite on server but I don't have permission to change
AllowOverride All

/ajax1/.htaccess
<------------------------------------------------->
<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteRule    ^$ app/webroot/    [L]
  RewriteRule    (.*) app/webroot/$1 [L]
</IfModule>
<------------------------------------------------->
/ajax1/app/.htaccess

<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteRule    ^$    webroot/    [L]
   RewriteRule    (.*) webroot/$1    [L]
 </IfModule>
<------------------------------------------------>
 /ajax1/app/webroot/.htaccess

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

Please help!!




--
Pozdrawiam, Mateusz Kaczanowski

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---