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

Change the Document Root to /home/user/web/site

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
sniper69
Posts: 3
Joined: Mon Apr 09, 2018 5:55 am

Os: Ubuntu 17x
Web: apache + nginx
Change the Document Root to /home/user/web/site
  • Quote

Post by sniper69 » Wed Mar 17, 2021 12:41 am

By default the document root is / home / user / web / site / public_html
I need to change to / home / user / web / site /
I have modified my / home / user / conf / site /
When I upload the .html file it is accessed normally but when the .php error is 500. Please help
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: Change the Document Root to /home/user/web/site
  • Quote

Post by grayfolk » Wed Mar 17, 2021 1:33 am

sniper69 wrote: ↑
Wed Mar 17, 2021 12:41 am
By default the document root is / home / user / web / site / public_html
I need to change to / home / user / web / site /
I have modified my / home / user / conf / site /
When I upload the .html file it is accessed normally but when the .php error is 500. Please help
Create new templates for your requirements. Search forum - over 100500 topics about this.
Top


Post Reply
  • Print view

2 posts • 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