1
我有這個在我的專用服務器上工作,但它在我的共享主機上失敗請問什麼可能是錯的?謝謝。服務器錯誤500 .htaccess
AddHandler的phpini-CGI .PHP
#Action phpini-cgi /cgi-bin/php5-custom-ini.cgi
Options -Indexes
Options FollowSymLinks
# Make Drupal handle any 404 errors.
ErrorDocument 404 /404.php
# Set the default handler.
DirectoryIndex index.php
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)$ index.php?q=$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)$ index.php?q=$1&r=$2 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)/([^/]+)$ index.php?q=$1&r=$2&s=$3 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)$ index.php?q=$1&r=$2&s=$3&t=$4 [L]
</IfModule>