Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Dev Section Scripting / API
  • Search

How to change DocumentRoot with API

Questions regarding the API
Application Programming Interface
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
GhoumaTn
Posts: 3
Joined: Fri Oct 05, 2018 10:12 pm

Os: Ubuntu 15x
Web: apache + nginx
How to change DocumentRoot with API
  • Quote

Post by GhoumaTn » Tue Oct 09, 2018 9:50 am

I'm working with API to create new domain, so my problem is how can i modify the "DocumentRoot" in domain.com.apache2.conf from api when i create domain with command v-add-domain or after.

I'm trying to edit domain.com.apache2.conf file with PHP and that's not working, so the only way is to edit "DocumentRoot" in domain.com.apache2.conf with Vesta API
Top


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

Return to “Scripting / API”



  • 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