[olug] HTTPD vhosts
Sam Flint
harmonicnm7h at gmail.com
Mon Dec 31 18:20:10 UTC 2012
The Error: Starting httpd: httpd: apr_sockaddr_info_get() failed for
hopper.flintfam.org httpd: Could not reliably determine the server's fully
qualified domain name, using 127.0.0.1 for ServerName
the config:
User apache
Group apache
ServerTokens OS
ServerRoot "/etc/httpd"
PidFile run/httpd.pid
Timeout 60
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 15
<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 4000
</IfModule>
<IfModule worker.c>
StartServers 4
MaxClients 300
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
Listen *:80
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_alias_module modules/mod_authn_alias.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule info_module modules/mod_info.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule substitute_module modules/mod_substitute.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule cache_module modules/mod_cache.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule version_module modules/mod_version.so
Include conf.d/*.conf
NameVirtualHost *:80
<VirtualHost *:80>
ServerName flintfam.org
ServerAdmin "site_admin at flintfam.org"
DocumentRoot "/var/web/flintfam.org"
</VirtualHost>
<VirtualHost *:80>
ServerName nm7h.com
ServerAdmin "site_admin at nm7h.com"
DocumentRoot "/var/web/nm7h.com"
</VirtualHost>
<VirtualHost *:80>
ServerName samflint.com
ServerAdmin "site_admin at samflint.com"
DocumentRoot "/var/web/samflint.com"
</VirtualHost>
<VirtualHost *:80>
ServerName mail.flintfam.org
ServerAdmin "site_admin at mail.flintfam.org"
DocumentRoot "/var/web/mail.flintfam.org"
</VirtualHost>
End COnfig
Sam
On Mon, Dec 31, 2012 at 10:48 AM, Lou Duchez <lou at paprikash.com> wrote:
> What's the exact wording of the error message?
>
> You've probably Googled for answers and I don't imagine any one person can
> out-Google the other, so if Google has been unforthcoming, maybe post your
> httpd.conf file.
>
>
>
> Still trying to set up the vhosts, and still won't work. Saying that it
>> cannot resolve an FQDN for the server.
>>
>> Sam
>>
>>
> ______________________________**_________________
> OLUG mailing list
> OLUG at olug.org
> https://lists.olug.org/**mailman/listinfo/olug<https://lists.olug.org/mailman/listinfo/olug>
>
--
Sam Flint
flintfam.org/~swflint
More information about the OLUG
mailing list