TAILIEUCHUNG - Professional Information Technology-Programming Book part 131

Tham khảo tài liệu 'professional information technology-programming book part 131', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | mod_log_agent mod_speling mod_auth_db mod_digest mod_log_referer mod_unique_id mod_auth_dbm mod_expires mod_mime_magic mod_usertrack mod_auth_digest mod_headers mod_mmap_static mod_vhost_alias mod_ssl If you need to add more modules you can do so through the Ports tree generally in the usr ports www directory. You can start the Apache HTTP daemon manually by typing apachectl start and pressing Enter. If you d like to start it at boot time automatically edit the etc file and replace the NO with in this line httpd_flags NO for normal use or -DSSL after reading ssl 8 Obviously if you need to use mod_ssl you need to use the -DSSL flag inside the quotes. See the httpd manpage for more information on loading extra modules here. Specific Apache modules may have their own manpages as well. By default Apache runs in a chrooted environmentin other words Apache operates as though nothing exists outside of the ServerRoot which is by default var www. So if you have extra Apache modules installed that need to use programs or configuration files in any directory outside of var www and its subdirectories then they will not be able to function properly. More details are available in the httpd manpage but if you just need to get this working right now by eliminating the chroot jail start Apache with the -u flag either from the command line or in the quotes in the previously mentioned Apache section of etc . Circumventing the chroot jail will make your system less secure if Apache is compromised. For optimal security the www user should not be able to write to any files or directories in ServerRoot. The Apache configuration files are kept not in etc but in var www conf . You should look over and adjust it for optimal performance on your computer. By default the settings may be a little too limited for web sites that get thousands of visitors per day. . Databases No databases are installed by default in OpenBSD but you can find MySQL SQLite and .