APACHE Flashcards
Web Server
Serves websites
A system that delivers content or services to end users over the internet
Translates your code into a web interface; nice format
Apache
Free open-source web server creation, deployment, and management software
Create web servers that have the ability to host one or more HTTP-based websites
Ability to support multiple programming languages, server-side scripting, an authentication mechanism and database support
HTTP
Hyper text transfer protocol, port 80
HTTPS
Hyper text transfer protocol secure, port 443
where is a content directory located
/var/www/
Where is content directory for html is located
/var/www/html - content directory for html and css (Document root)
/etc/httpd/conf.d/
contains custom configuration files (connected to the main conf file)
/var/log/http/
access-log – access to my website; IP address, time, request type, page they are looking for, apache error (200 works), clients browser and operating system
error_log – server related issues
command that checks the version of apache
httpd -v
command that checks syntax in apache httpd.conf file
httpd –t
main configuration file
/etc/httpd/conf/httpd.conf
/etc/httpd/conf/httpd.conf - main configuration file
Listen - which IP and ports it`s listening
ServerName - specify server name(for access it with name)
ServerRoot - /etc/httpd where located http
ServerAdmin - mail address for customer complaining
DocumentRoot /var/www/html - for put your html files
/etc/httpd/conf/httpd.conf - main configuration file
Listen - which IP and ports it`s listening
ServerName - specify server name(for access it with name)
ServerRoot - /etc/httpd where located http
ServerAdmin - mail address for customer complaining
DocumentRoot /var/www/html - for put your html files