Apache configuration file
The Apache configuration file is an entry point for how and what can be seen from the domain’s public url.
config file is found: /home/username/Apache/Apache/conf/httpd.conf
important settings:
- Port = the port the server will listen when not using SSL (defaults to 7778)
- User = the default user-name that is used
- Group = the group that the above user is assigned to
- ServerName = a DNS name or IP address of the server
- DocumentRoot = all requests are made from here (aliases may be used for other locations)
- <Directory “…”> should match with whatever is set with DocumentRoot
- AccessFileName .htaccess = for setting acces to files/directories
- <IfModule mod_alias.c> = set aliases names for directory/files
Comments