わかりました、基本的に
(タイプミスなし)
呼び出す必要があります
http://miniqr.com/api/create.php?content=http://www.anyurl.com/
これを達成するために、ルート.htaccessにこれがあります
RewriteRule ^http:\/\/(.*)$ \/api\/create.php\?content=http:\/\/$1 [L]
RewriteRule ^https:\/\/(.*)$ \/api\/create.php\?content=https:\/\/$1 [L]
悲しいことに、以前は機能していましたが、サーバーが更新され、現在は機能しません
誰かが理由を知っていますか?(またはそれを行う別の方法を知っている)ヘルプは素晴らしいでしょう
私の .htaccess は次のようになります。
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} !^miniqr\.com$ [NC]
RewriteRule ^(.*)$ http://miniqr.com/$1 [L,R=301]
RewriteRule ^(^$|index\.php|robots\.txt|docs|reader\/) - [L]
RewriteRule ^http:\/\/(.*)$ \/api\/create\.php\?content=http:\/\/$1 [L]
RewriteRule ^https:\/\/(.*)$ \/api\/create\.php\?content=https:\/\/$1 [L]