H-Sphere Documentation Sysadmin Guide

For more information contact us at info@psoft.net

Understanding Web Server Configuration

 

H-Sphere web server is represented by Apache version 1.3.x.

To restart the web server, use the command:
/hsphere/shared/scripts/apache-reconfig
This can give you large number of warnings. Most of them mean that user created subdomain through control panel, and then manually deleted the related directory. This will not prevent apache from starting or from normal operation.

Location of files

/hsphere/local/var/httpd/logs - apache log files
/hsphere/local/var/proftpd/ - ftp log files
/hsphere/local/var/frontpage - FrontPage config files
/hsphere/local/var/frontpage/version{number} - symlink to /hsphere/shared/frontpage/version{number}
/hsphere/local/var/staticstics - statistics results from rotatelogs (used for bandwith metering)
/hsphere/local/config/httpd/ - apache webserver config files
/hsphere/local/config/ftpd/ - ftp config files
/hsphere/local/config/httpd/httpd.conf - main httpd config file
/hsphere/local/config/httpd/sites/ - directory that contains all the config files, for each domain on that server. grep them to find the one that you need.

The files below can be overwritten with H-Sphere updates. If you want to force them to stay the same regardless of the update, make them read only. The files are named as [number].conf, e.g. like 213124.conf. The number is domain id number in the H-Sphere database.

/hsphere/local/config/httpd/sites/index.conf - index of all sites that will be included
/hsphere/local/network/ips - all IP addresses and their netmasks that will be brought up by the system at start up. Used by H-Sphere to control IPs on the server.
/hsphere/shared/apache - complete apache distribution used by H-Sphere for webserver.
/hsphere/shared/apache/conf/ - symlink to /hsphere/local/config/httpd
/hsphere/shared/sbin/proftpd - ftp daemon file
/hsphere/shared/apache/htdocs - document root. Place index.html into this directory.
/hsphere/shared/apache/webshell - WebShell installation. This is a web based file manager that comes with H-Sphere
/hsphere/shared/ - modlogan and webalizer files
/hsphere/shared/apache/conf/modlogan_user.cfg - ModLogAn config file
/hsphere/shared/apache/conf/webalizer_user.cfg - webalizer config file (if mysql is installed)
/hsphere/shared/frontpage - FrontPage installation
/hsphere/shared/apache/php/MyPHPAdmin - MyPHPAdmin files. This is a PHP-based MySQL administration package.
/hsphere/shared/skel - skeleton files for user sites. These are html pages that users see at their address before they upload their site content.
/hsphere/shared/skel/website - skeleton files for new sites
/hsphere/shared/skel/suspended - skeleton files for suspended sites
/hsphere/shared/skel/webalizer - skeleton files for webalizer section of the site.
/hsphere/shared/skel/modlogan - skeleton files for ModLogAn section of the site.



Home   Products   Services   Partners   Support   News   Contact   Forum
© Copyright 1998-2003. Positive Software Corporation.
All rights reserved.