Skip to content

Commit

Permalink
Update rewrite rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jul 10, 2012
1 parent ff71328 commit aac1401
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions en/installation/advanced-installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ httpd.conf rather than a user- or site-specific httpd.conf).
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,L]
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

If your CakePHP site still has problems with mod\_rewrite you might
Expand Down Expand Up @@ -191,7 +191,7 @@ httpd.conf rather than a user- or site-specific httpd.conf).
RewriteBase /path/to/cake/app
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,L]
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

The details of those changes will depend on your setup, and can
Expand Down
4 changes: 2 additions & 2 deletions es/installation/advanced-installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ En el directorio raíz *webroot* (será copiado allí por bake):
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,L]
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

Muchos de las empresas de hosting (GoDaddy, 1and1) ya tienen mod\_rewrite activo
Expand Down Expand Up @@ -172,7 +172,7 @@ de configuración sólo se aplique si mod\_rewrite está cargado):
RewriteBase /path/to/cake/app
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,L]
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

Este cambio dependerá de tu configuración. Puede que debas realizar otros
Expand Down
4 changes: 2 additions & 2 deletions ja/installation/advanced-installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ everything to play nicely on their systems.
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,L]
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

まだあなたのcakephpサイトでmod\_rewriteの問題が起きているなら、仮想ホスト(*virtualhosts*)の設定の変更を試してみるといいかもしれません。
Expand Down Expand Up @@ -158,7 +158,7 @@ everything to play nicely on their systems.
RewriteBase /path/to/cake/app
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,L]
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

この変更の詳細は設定に依り、Cakeとは関係ない事柄も含むことがあります。
Expand Down
4 changes: 2 additions & 2 deletions pt/installation/advanced-installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ sistema e não o de um usuário ou de um site específico).
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

Para muitos serviços de hospedagem (GoDaddy, 1and1), seu servidor web
Expand All @@ -157,7 +157,7 @@ sistema e não o de um usuário ou de um site específico).
RewriteBase /path/to/cake/app
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>

Os detalhes dessa mudança vai depender de sua configuração, e pode incluir
Expand Down

0 comments on commit aac1401

Please sign in to comment.