• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Problem with Apache / nginx

Fabhino22Elz

Basic Pleskian
I am running Plesk Onyx v17.8.11 on CentOS 7.6.1810.

There are several Websites running on the System. All in a chrooted config with PHP 7.2.15 FPM served by Apache.

I am running the software "Shopware" on some of the Websites.

Here is my Problem now. There is a link that i need, that comes from shopware to a PDF File. That works on all servers that i have access to. On my server, same shop system (shopware) plain installed the requested url is causing in a 404 NGINX error and the htaccess cant be opend with the link.

I asked the shopsystem developers and they tried debugging the error. It is not a Software Error, the Controller Action / URL that is responsive for the PDF is not even callable at any time. Shopware is not running any command there if you try to open the pdf file from the link. not even if they put in some debug code or die rules...

Has anyone a idea what could be the problem here and even - why there is a 404 ngix even i am running on a PHP FPM served by Apache.

I also tried the modes CGI and FastCGI - Same here - 404 NGINX...

Thankful for any help!
 
The only thing that comes into my mind at this time is that the file might be spelled with capital letters or that the exact spelling is slightly different (e.g. the file name is capitalized differently from what you are trying to open in a link). Try to spell it in small letters only. Make sure that the domain name that is configured on the system is all spelled in small letters, too.
 
First - Thank you for your answer.

Unfortunaly this is not resolving the error. The same URL of the same shop system and same php version i running on a other root server. I dont know how to find even a way to debug this or to get closer to this error. Any other ideas or tipps how to debug this problem?
 
I think that the htaccess are not available through Nginx, you need to check the nginx conf. also are you sure at 100% that you are serving the php file through apache?

I think is this one the config.

location ~ /\.ht {
deny all;
}
 
Last edited:
I think that the htaccess are not available through Nginx, you need to check the nginx conf. also are you sure at 100% that you are serving the php file through apache?

I think is this one the config.

location ~ /\.ht {
deny all;
}

Thank you for your answer. What should i see / check in the nginx conf file?

Also - How else can i test, if php i served by apache. I only have the settings in php selection for domain where it says FPM served by Apache.

Reboot everything and use a different browser, that's all I know.
best of luck.

What do you mean with reboot and try a different browser? Server has been restarted and a unknown and inkognito browser has been used.
 
I attatched a screenshot from my phpinfo

As you can see it says Apache on my System.
 

Attachments

  • Bildschirmfoto 2019-03-12 um 15.39.49.png
    Bildschirmfoto 2019-03-12 um 15.39.49.png
    17.5 KB · Views: 5
Back
Top