nowiresltd
Verified User
- Joined
- Oct 6, 2014
- Messages
- 6
Hi
Trying to change the publc_html location for a client.
From public_html to public_html/pub
https://help.directadmin.com/item.php?id=199 < - followed this.
and
Both files are being generated
root@cp01:/usr/local/directadmin# ls -la data/users/devexa/nginx.conf
-rw-r----- 1 diradmin devexa 2732 Apr 8 17:54 data/users/devexa/nginx.conf
root@cp01:/usr/local/directadmin# ls -la data/users/devexa/httpd.conf
-rw-r----- 1 diradmin devexa 3476 Apr 8 17:54 data/users/devexa/httpd.conf
However
root@cp01:/usr/local/directadmin# grep public_html data/users/devexa/httpd.conf
<Directory "/home/devexa/public_html">
DocumentRoot /home/devexa/domains/dev01.example.com/public_html/pub
<Directory /home/devexa/domains/dev01.example.com/public_html/pub>
DocumentRoot /home/devexa/domains/dev01.example.com/public_html/pub
<Directory /home/devexa/domains/dev01.example.com/public_html/pub>
root@cp01:/usr/local/directadmin# grep public_html data/users/devexa/nginx.conf
root /home/devexa/domains/dev01.example.com/public_html;
alias /home/devexa/domains/dev01.example.com/public_html/;
root@cp01:/usr/local/directadmin#
public_html is only changing for HTTP and not NGINX
I am putting - "|?DOCROOT=`HOME`/domains/`DOMAIN`/public_html/pub|" in the top section
of
Thanks
Trying to change the publc_html location for a client.
From public_html to public_html/pub
https://help.directadmin.com/item.php?id=199 < - followed this.
and
Both files are being generated
root@cp01:/usr/local/directadmin# ls -la data/users/devexa/nginx.conf
-rw-r----- 1 diradmin devexa 2732 Apr 8 17:54 data/users/devexa/nginx.conf
root@cp01:/usr/local/directadmin# ls -la data/users/devexa/httpd.conf
-rw-r----- 1 diradmin devexa 3476 Apr 8 17:54 data/users/devexa/httpd.conf
However
root@cp01:/usr/local/directadmin# grep public_html data/users/devexa/httpd.conf
<Directory "/home/devexa/public_html">
DocumentRoot /home/devexa/domains/dev01.example.com/public_html/pub
<Directory /home/devexa/domains/dev01.example.com/public_html/pub>
DocumentRoot /home/devexa/domains/dev01.example.com/public_html/pub
<Directory /home/devexa/domains/dev01.example.com/public_html/pub>
root@cp01:/usr/local/directadmin# grep public_html data/users/devexa/nginx.conf
root /home/devexa/domains/dev01.example.com/public_html;
alias /home/devexa/domains/dev01.example.com/public_html/;
root@cp01:/usr/local/directadmin#
public_html is only changing for HTTP and not NGINX
I am putting - "|?DOCROOT=`HOME`/domains/`DOMAIN`/public_html/pub|" in the top section
of
Thanks