I create a custom domain refer here
Good here, but the problem is with php still pointing to main docroot
How also change directory path too?
Apache config:
|*if SUB="subname"|
|?SDOCROOT=`HOME`/domains/`DOMAIN`/subdomains/`SUB`|
|*endif|
Good here, but the problem is with php still pointing to main docroot
Apache config:
<Directory /home/user/domains/domain.com/public_html>
<FilesMatch "\.(inc|php|phtml|phps|php70)$">
<If "-f %{REQUEST_FILENAME}">
#ProxyErrorOverride on
AddHandler "proxy:unix:/usr/local/php70/sockets/putalocura.sock|fcgi://localhost" .inc .php .phtml .php70
</If>
</FilesMatch>
</Directory>
How also change directory path too?