This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Default important paths
#1
Default important paths
Hello, is it possible to change the default important paths created by Sentora?
I.e, i want to change "/var/zpanel/hostdata/[Sentora-login]/public_html/[domain_tld]" to
"/home/[domain_tld]/public_html".
Reply
Thanks given by:
#2
RE: Default important paths
Take care would trigger some issues.

You may try with symbolic links and move files. Ensure that owner remaion apache:apache.

Why are you trying to do so?

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#3
RE: Default important paths
Im askin for the name of the script who creates the folders and generates the vhosts. If its from a php file, just tell me which one it is and the location. Thanks!
Reply
Thanks given by:
#4
RE: Default important paths
Doing so you will likely break the panel.

Check under modules apach_admin and hooks.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#5
RE: Default important paths
I already checked the hooks, nothing found.
Reply
Thanks given by:
#6
RE: Default important paths
This is the file that manage the whole apache vhosts

https://github.com/sentora/sentora-core/...n.hook.php

IF you check it carefull you will see it's grabbing data from sentora_core/settings.

$line .= 'DocumentRoot "' . ctrl_options::GetSystemOption('sentora_root') . '"' . fs_filehandler::NewLine();
$line .= 'ErrorLog "' . ctrl_options::GetSystemOption('log_dir') . 'sentora-error.log" ' . fs_filehandler::NewLine();

It's there and in DB.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by: PyroByte
#7
RE: Default important paths
I must have missed this file. Thats exactly what i was searching for. Thanks!
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
hat is the MYSQL default Username owenclements 1 4 ,706 08-07-2019, 11:13 PM
Last Post: Ron-e
Change default language diogorocha18 7 17 ,960 11-16-2018, 12:33 AM
Last Post: nibaldo
Important HTTPD not starting timce2000 4 11 ,162 03-17-2018, 06:43 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)