• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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 Password Protected Directory broke my Laravel site.

TriJoe

New Pleskian
Server operating system version
CentOS
Plesk version and microupdate number
Version 18.0.41 Update #1
I had a basic Laravel site setup in Plesk. All was working fine, but I decided to enable password protected directories on the root (/) while I worked on it. As soon as I did this, and then tried to access the site with the username / password, the site was blank, just a HTTP 200 response, and nothing else, nothing in the error log.

I then disabled the Password Protected Directory but the issue remains. I restored the .htaccess file in the root but this didn't change anything, I don't think it was any different. If I add a PHP echo to the first line of the index.php, it echo's normally. So somehow password protected directories has interfered with Laravel in a way to break it.

Not sure if it changes anything, but I changed the http root to /sms/public instead of /httpdocs. It worked fine before enabling PPD.

Does anyone know how to fix this, or if you know what exactly PPD changes when it's enabled so I can manually revert. Thanks.
 
Back
Top