0
我想將demo.mydomain.net/p/重定向到mydomain.net/。htaccess重寫條件文件夾
我在我的demo.mydomain.net/p/文件夾中保存了.htaccess,但它給了我500內部服務器錯誤。
這是我的.htaccess文件:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^demo\.mydomain\.net\p$ [OR]
RewriteCond %{HTTP_HOST} ^www\.demo\.mydomain\.net\p$
RewriteRule ^/?$ "http\:\/\/mydomain\.net" [R=301,L]
任何人可以幫助我嗎?
在此先感謝!