私はローカル開発環境を持っています。Windows732ビットにWampをインストールするだけです。
今私の問題は、既存のプロジェクトコンテンツの魔女がたくさんリダイレクトしたいということです。.htaccessとたわごとで。私のローカルWebサーバーはこれを採用しておらず、次のようになります。
Fout 310(net :: ERR_TOO_MANY_REDIRECTS):Er zijn teveelomleidingen。
エラー310(net :: ERR_TOO_MANY_REDIRECTS):多くのリダイレクトへ-オランダ語でエラーが発生しましたこれは英語版だと思います
今、私のクッキーには何の問題もありません。それをチェックするように言われます。
私の.htaccessは次のようになります。
RewriteEngine On
#RewriteCond %{HTTP_HOST} !^localhost\.?(:[0-9]+)?$
#RewriteCond %{HTTP_HOST} !^www\.
#RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=404,L]
DirectoryIndex index.php
# -[PHP.INI OVERRIDE]- -----------------------------------------------------------------------------------------------------------
php_value register_globals 0
# -[UPLOAD MAX FILE SIZE]- -----------------------------------------------------------------------------------------------------------
php_value upload_max_filesize 10M
php_value post_max_size 10M
php_value max_execution_time 120
# -[ERROR REPORTING]- -----------------------------------------------------------------------------------------------------------
# Complete error reporting
# php_value error_reporting 8191
# Zend error reporting
# php_value error_reporting 128
# Basic error reporting
php_value error_reporting 8
# Minimal error reporting
# php_value error_reporting 1
# -[ERROR DOCS]- ----------------------------------------------------------------------------------------------------------------
ErrorDocument 403 /index.php?mode=error&type=403
ErrorDocument 404 /index.php?mode=error&type=404
ErrorDocument 500 /index.php?mode=error&type=500
# -[BESTAAT BESTAND -> DOORGEVEN] ------------------------------------------------------------------------------------------------
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [QSA,NC,L]
# -[CMS]---- ---------------------------------------------------------------------------------------------------------------------
RewriteRule ^cms/$ cms/ [QSA,L]
# -[GLOBAL]- ---------------------------------------------------------------------------------------------------------------------
RewriteRule ^error/403$ index.php?mode=error&type=403 [L]
RewriteRule ^error/404$ index.php?mode=error&type=404 [L]
RewriteRule ^error/500$ index.php?mode=error&type=500 [L]
RewriteRule ^([0-9a-z_-]*)/([0-9a-z_-]*)/([0-9a-z_-]*)/([0-9a-z_-]*).html$ index.php?mode=$1&mode2=$2&mode3=$3&html=$4 [NC,QSA,L]
RewriteRule ^([0-9a-z_-]*)/([0-9a-z_-]*)/([0-9a-z_-]*)/$ index.php?mode=$1&mode2=$2&mode3=$3 [NC,QSA,L]
RewriteRule ^([0-9a-z_-]*)/([0-9a-z_-]*)/([0-9a-z_-]*).html$ index.php?mode=$1&mode2=$2&html=$3 [NC,QSA,L]
RewriteRule ^([0-9a-z_-]*)/([0-9@a-z_-]*)/$ index.php?mode=$1&mode2=$2 [NC,QSA,L]
RewriteRule ^([0-9a-z_-]*)/([0-9a-z_-]*).html$ index.php?mode=$1&html=$2 [NC,QSA,L]
RewriteRule ^([0-9a-z_-]*)/$ index.php?mode=$1 [NC,QSA,L]
RewriteRule ^([0-9a-z_-]*).html$ index.php?html=$1 [NC,QSA,L]