2
.htaccess顯示500服務器錯誤。
文件的位置是根文件夾。 下面是代碼:htaccess - 顯示500錯誤甚至啓用本地主機上httpd.conf中的htaccess文件
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule .signup.php [L]
RewriteRule .* .signup.php [PT,L]
</IfModule>
我已經啓用htaccess文件在httpd.conf文件 是
<Directory />
Options FollowSymLinks
AllowOverride all
Order deny,allow
Deny from all
Satisfy all
</Directory>
和
LoadModule rewrite_module modules/mod_rewrite.so
謝謝@Ultimater ....! – Omkar
一個「點文件」(即'.signup.php')作爲一個可公開訪問的文件看起來也很奇怪嗎?大多數服務器會主動阻止訪問,這也可能導致500錯誤。 (?) – MrWhite