>Apache 2.4 on sles 12. I understand this version is way >different from 2.2 >but I can't get 2.4 to even listen on 80 or >443. Can anyone help me with >this? The logs only shows >me when I start and stop Apache. Btw, I am using >>apache2ctl stop/start as rcapache2 doesn't seem to >stop/start and >etc/init.d/apache2 stop/start is not even in >that path........
Here is my httpd.conf: # run under this user/group id Include /etc/apache2/uid.conf # - how many server processes to start (server pool regulation) # - usage of KeepAlive Include /etc/apache2/server-tuning.conf ErrorLog /var/log/apache2/error_log # generated from APACHE_MODULES in /etc/sysconfig/apache2 Include /etc/apache2/sysconfig.d/loadmodule.conf # IP addresses / ports to listen on Include /etc/apache2/listen.conf # predefined logging formats Include /etc/apache2/mod_log_config.conf # generated from global settings in /etc/sysconfig/apache2 Include /etc/apache2/sysconfig.d/global.conf # optional mod_status, mod_info Include /etc/apache2/mod_status.conf Include /etc/apache2/mod_info.conf Include /etc/apache2/mod_reqtimeout.conf # optional cookie-based user tracking # read the documentation before using it!! Include /etc/apache2/mod_usertrack.conf # configuration of server-generated directory listings Include /etc/apache2/mod_autoindex-defaults.conf # associate MIME types with filename extensions TypesConfig /etc/apache2/mime.types Include /etc/apache2/mod_mime-defaults.conf # set up (customizable) error responses Include /etc/apache2/errors.conf # global (server-wide) SSL configuration, that is not specific to # any virtual host Include /etc/apache2/ssl-global.conf # forbid access to the entire filesystem by default <Directory /> Options None AllowOverride None # See /usr/share/doc/packages/apache2/README-access_compat.txt <IfModule mod_access_compat.c> Order deny,allow Deny from all </IfModule> <IfModule !mod_access_compat.c> Require all denied </IfModule> </Directory> # use .htaccess files for overriding, AccessFileName .htaccess # and never show them <Files ~ "^\.ht"> # See /usr/share/doc/packages/apache2/README-access_compat.txt <IfModule mod_access_compat.c> Order allow,deny Allow from all </IfModule> <IfModule !mod_access_compat.c> Require all granted </IfModule> </Files> # List of resources to look for when the client requests a directory DirectoryIndex index.html index.html.var index.php Include /etc/apache2/default-server.conf # Another way to include your own files # # The file below is generated from /etc/sysconfig/apache2, # include arbitrary files as named in APACHE_CONF_INCLUDE_FILES and # APACHE_CONF_INCLUDE_DIRS Include /etc/apache2/sysconfig.d/include.conf IncludeOptional /etc/apache2/vhosts.d/*.conf Here is the listen.conf: Listen 80 <IfDefine SSL> <IfDefine !NOSSL> <IfModule mod_ssl.c> Listen 443 </IfModule> </IfDefine> </IfDefine> Here is a vhost conf: <VirtualHost *:80> ServerAdmin em...@domain.tld ServerName domain.tld ServerAlias www.domain.tld DocumentRoot /srv/www/htdocs/sites/domain # if not specified, the global error log is used ErrorLog /var/log/apache2/teknerds.net-error_log CustomLog /var/log/apache2/teknerds.net-access_log combined # don't loose time with IP address lookups HostnameLookups Off # needed for named virtual hosts UseCanonicalName Off # configures the footer on server-generated documents ServerSignature On ScriptAlias /cgi-bin/ "/srv/www/vhosts/dummy-host.example.com/cgi-bin/" # "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have one, and where ScriptAlias points to. # <Directory "/srv/www/vhosts/dummy-host.example.com/cgi-bin"> AllowOverride None Options +ExecCGI -Includes <IfModule mod_access_compat.c> Order allow,deny Allow from all </IfModule> <IfModule !mod_access_compat.c> Require all granted </IfModule> </Directory> # # This should be changed to whatever you set DocumentRoot to. # <Directory "/srv/www/htdocs/sites/domain"> Options Indexes FollowSymLinks AllowOverride None # See /usr/share/doc/packages/apache2/README-access_compat.txt <IfModule mod_access_compat.c> Order allow,deny Allow from all </IfModule> <IfModule !mod_access_compat.c> Require all granted </IfModule> </Directory> The error from chrome is connection rejected. Netstat -nlp does not show listening on 80 or 443. I have a phpinfo.php file on the doc root, a html file on the doc root and a website in the above location; can not get to any of these places --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org