Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

HTML error files

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
DukeDan1
Posts: 1
Joined: Wed Jan 20, 2021 10:26 pm

Os: Debian 8x
Web: apache + nginx
HTML error files
  • Quote

Post by DukeDan1 » Wed Jan 20, 2021 10:30 pm

I have manually installed PHP version 7.4 onto my Debian 9 server running VestaCP with Apache2 and Nginx (using this guide: viewtopic.php?f=41&t=17129)

When I get a file not found error when an incorrect PHP file name is typed into the URL bar I no longer get the normal 404 page but just get some plain text. Other file types work. How can I configure it so that PHP files give the right error document pages?

(http://prntscr.com/xbgrn6)
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password