这个.htaccess文件有什么问题?
在我的根目录中有两个子文件夹production和development。我想发送所有传入流量到生产文件夹,这是我的网站所在 在根目录中,我有一个.htaccess:这个.htaccess文件有什么问题?,.htaccess,.htaccess,在我的根目录中有两个子文件夹production和development。我想发送所有传入流量到生产文件夹,这是我的网站所在 在根目录中,我有一个.htaccess: RewriteEngine on RewriteRule ^$ production/ [L] RewriteRule (.*) production/$1 [L] 当我浏览到域名时,我不断收到一个内部服务器错误 我做错了什么? 谢谢 试试这个 RewriteCond %{HTTP_HOST} ^w
RewriteEngine on
RewriteRule ^$ production/ [L]
RewriteRule (.*) production/$1 [L]
当我浏览到域名时,我不断收到一个内部服务器错误
我做错了什么?
谢谢 试试这个
RewriteCond %{HTTP_HOST} ^www.example.com [NC]
RewriteRule ^(.*)$ /poduction/
谢谢,但我仍然收到一个内部服务器错误。但这真的不可能,对吗?