Comments (10)
Hallo,
durch die Änderung auf ~ shopware.php$
wären natürlich keinen anderen, echten PHP Scripte in deinem Shop mehr aufführbar, z.b. der Installer oder Updater.
Welche Version des Actindo Connectors verwendest du?
Laut Code sollte auch ein Zugriff über folgende URl möglich sein:
www.domain.tdl/Actindo/xmlrpcServerPhp?get_cryptmode=1&username=test
from shopware-with-nginx.
Die aktuellste Version.
Problem ist, dass ich in Actindo nur domain.tdl/Actindo/ hinterlegen kann, den xmlrpc fügt dann Actindo automatisch an.
Für meinen Fall müsste es ausreichen eine neue eigene Location in NGINX für diesen Sonderfall anzulegen um nicht alle PHP-Scripts damit nicht mehr ausführbar zu machen.
Vielleicht gibt es ja aber einen allgemeinen Weg, da auch andere Plugins diese Weg gehen könnten.
z.B Prüfung ob die PHP Datei existiert, wenn ja dann ausführen, andernfalls versuchen es über shopware.php abzubilden.
from shopware-with-nginx.
Wenn du eine gute Lösung findest wäre ich über einen Pull Request dankbar.
Allerdings würde ich ungern einen Workaround inkludieren der komisches Verhalten von Plugins korrigiert.
from shopware-with-nginx.
hallo
dieses problem habe ich jetzt auch... und nirgens eine lösung gefunden... ich habe jetzt schon einiges probiert in nginx aber nach wie vor keine funktionierende lösung gefunden...
from shopware-with-nginx.
Wir haben Orgamax-Schnitstelle installiert. Aufruf der Aktionen sollte so aussehen - domain.tld/DeltraShopConnector/setArticles. Dabei sollte function setArticlesAction in engine\Shopware\Plugins\Community\Frontend\DeltraShopConnector\Controllers\Frontend\DeltraShopConnector.php aufgerufen werden. Leider es funktioniert mit nginx nicht - 404 Error (apache hat kein Problem). Wie kann man das korrigieren?
from shopware-with-nginx.
Nur mal so als schnelle Lösung, schon mal versucht das so zu konfigurieren:
(Wobei "/recovery/install" durch den benötigten Pfad getauscht werden muss)
location /recovery/install {
index index.php;
try_files $uri /recovery/install/index.php?$args;
}
from shopware-with-nginx.
Danke für Vorschlag. Sollte es so aussehen?:
location /DeltraShopConnector {
index DeltraShopConnector.php;
try_files $uri /engine\Shopware\Plugins\Community\Frontend\DeltraShopConnector\Controllers\Frontend\DeltraShopConnector.php?$args;
}
trotzdem 404 error
from shopware-with-nginx.
Gerne! Ja, genau. Wobei der Pfad noch falsch ist, hier die Korrektur.
location /DeltraShopConnector/ {
#index DeltraShopConnector.php;
try_files $uri /engine/Shopware/Plugins/Community/Frontend/DeltraShopConnector/Controllers/Frontend/DeltraShopConnector.php?$args;
}
Einfach mal herantasten.
from shopware-with-nginx.
Oh, es ist kein Problem mit nginx, sorry. In dem Plugin steht die Prüfung ob USER_AGENT gleich Benutzername ist. Nach dem ich USER_AGENT geändert habe, funktioniert mit der Standardkonfiguration. Danke für die Hilfe, Andreas.
from shopware-with-nginx.
Kein Problem, gerne!
Danke für die Rückinfo, vielleicht hilft es ja auch dem nächsten der darüber stolpert.
Beste Grüße
Andreas
from shopware-with-nginx.
Related Issues (20)
- SEO url rewrite issue with .html ending HOT 2
- robot.txt location in shopware.conf HOT 1
- Add expires max for generated css/js files HOT 1
- Add caching for web fonts HOT 1
- shopware.conf --> add this with sitemapMobile.xml
- shopware.conf ---> robots.txt HOT 3
- Feature-Request: Subfolder installation config HOT 6
- Updates are not possible ... HOT 5
- ESD Download - 404
- Configurable php-fpm upstream HOT 1
- Is it still recommendable to use SW on Nginx? HOT 3
- Let's Encrypt conflict HOT 1
- Item export (Produktexporte) feeds return 404 error HOT 2
- Subshops not working HOT 15
- Recognizing *.html as static file may causes issues
- Add secure SSL configuration example HOT 2
- Conf is blocking Let's encrypt challenge HOT 2
- Hardened Configuration for Shopware HOT 3
- 504 Gateway-Timeout on Backend
- Get rid of hardcoded ESD key in global/shopware.con HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shopware-with-nginx.