kb: how-to
Plesk for Linux
Question
How to set the webspace root location?
Answer
1. Connect to the server via SSH
-
Add CGI bin directory:
# plesk bin settings --set force_separate_cgi_bin_dir=true
-
Set webspace root for domain:
# plesk bin site -u example.com -cgi-mode webspace
Additional information
Check force_separate_cgi_bin_dir
status:
# plesk db "select * from misc where param='force_separate_cgi_bin_dir';"
Check domain's parameters:
# plesk db "select * from dom_param where param = 'cgi_bin_mode';"
Comments
0 comments
Please sign in to leave a comment.