When you configure a script for any server, it may ask you to set variables such as the base, relative, CGI directory, and URL settings. ** For cPanel/WHM, DirectAdmin, and Interworx based servers the home directory will be /home/USERNAME/ Your webpath will be /home/USERNAME/public_html/ which will serve: http://www.your_domain.com/ So if you need the path to your cgi-bin it would be: /home/USERNAME/public_html/cgi-bin/ which would serve: http://www.your_domain.com/cgi-bin/ ** For Plesk based servers the home directory will be /var/www/vhosts/DOMAIN.TLD/ Your webpath will be /var/www/vhosts/DOMAIN.TLD/httpdocs/ which will serve: http://www.your_domain.com/ So if you need the path to your cgi-bin it would be: /var/www/vhosts/DOMAIN.TLD/cgi-bin/ which would serve: http://www.your_domain.com/cgi-bin/ Please change USERNAME, DOMAIN.TLD, and your_domain.com to your username and domain.
|
Add to Favourites
Print this Article |