This repository was archived by the owner on Nov 30, 2022. It is now read-only.
File downloaded instead of redirecting App proxy #674
Unanswered
sandeeppangeni
asked this question in
Q&A
Replies: 1 comment
-
Comment out these lines in your .htaccess, by adding a # to the start. It stops the 301 redirect which causes Shopify to download the file.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Need help
For bug reporting only! If you're posting a feature request or discussion, please ignore.
Expected Behavior
I have setup the app proxy as
And given the routes as
Route::get('/cartmade_payment', function () {
return response('Hello, world!')->withHeaders(['Content-Type' => 'application/liquid']);
})->middleware('auth.proxy');
But it is downloading the file instead of redirecting
.htaccess file
`
Options -MultiViews -Indexes
Set the “ea-php74” package as the default “PHP” programming language.
AddHandler application/x-httpd-ea-php74 .php .php7 .phtml `Steps to Reproduce
when I change the .htaccess file as below, I got 500 internal server.
Redirect Trailing Slashes If Not A Folder...
Changes to
Redirect Trailing Slashes If Not A Folder...
Failure Information
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
"php": "^7.3|^7.4|^8.0",
"fideloper/proxy": "^4.4",
"fruitcake/laravel-cors": "^2.0",
"guzzlehttp/guzzle": "^7.0.1",
"laravel/framework": "^8.12",
"laravel/tinker": "^2.5",
"osiset/basic-shopify-api": "^10.0",
"osiset/laravel-shopify": "^15.1"
Beta Was this translation helpful? Give feedback.
All reactions