1
我有我的API位于htaccess的改变位置和重定向所有请求
/public_html/old/app/index.php
在这个
/老/应用程序有一个.htaccess中
Options -MultiViews -Indexes
SetOutputFilter DEFLATE
DirectoryIndex index.php
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^$ index.php [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]
</ifModule>
不,我想移动我的应用程序到另一个位置
/public_html/v1/app/index.html
我应该怎么添加到上面htaccess的重定向从/老/ app文件夹的所有来电/ v1/app?
感谢这部作品在浏览器的罚款,但应用程序引发错误:( – Zalaboza
浏览器的工作原理相同的方式与任何其他Web客户端它只是发送。一个Web请求到服务器,你得到什么错误? – anubhava
错误与空状态,并没有反应:(,如果你得到如果Cors不正确。 – Zalaboza