Strange apache2 Problem...

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

Strange apache2 Problem...

Postby rev » Mon Apr 07, 2014 19:37

Hi guys!
i've got a problem with apache 2.
After an update, when i start apache 2 via shell, it doesn't indexes the directory... but if i write the correct path, it works flawless without any kind of problem.
Now i've tried to edit my httpd.conf many times and i've checked over the net but nothing.
It is an annoying problem... below i've pasted my apache2.conf
Can anyine help me?

Code: Select all
# This is a modification of the default Apache 2.2 configuration file
# for Gentoo Linux.
# Support:
#   [mailing lists]
#                 [web forums]
#   irc://      [irc chat]
# Bug Reports:
#                    [gentoo related bugs]
#   [apache httpd related bugs]
# This is the main Apache HTTP server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See <URL:> for detailed information.
# In particular, see
# <URL:>
# for a discussion of each configuration directive.
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are unsure
# consult the online docs. You have been warned.
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "var/log/apache2/foo_log"
# with ServerRoot set to "/usr" will be interpreted by the
# server as "/usr/var/log/apache2/foo.log".

# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
# Do not add a slash at the end of the directory path.  If you point
# ServerRoot at a non-local disk, be sure to point the LockFile directive
# at a local disk.  If you wish to share the same ServerRoot for multiple
# httpd daemons, you will need to change at least LockFile and PidFile.
ServerRoot "/usr/lib64/apache2"

# Dynamic Shared Object (DSO) Support
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
# Example:
# LoadModule foo_module modules/
# GENTOO: Automatically defined based on APACHE2_MODULES USE_EXPAND variable.
#         Do not change manually, it will be overwritten on upgrade.
# The following modules are considered as the default configuration.
# If you wish to disable one of them, you may have to alter other
# configuration directives.
# Change these at your own risk!

LoadModule actions_module modules/
LoadModule alias_module modules/
LoadModule asis_module modules/
LoadModule auth_basic_module modules/
LoadModule auth_digest_module modules/
LoadModule authn_alias_module modules/
LoadModule authn_anon_module modules/
LoadModule authn_dbd_module modules/
LoadModule authn_dbm_module modules/
LoadModule authn_default_module modules/
LoadModule authn_file_module modules/
LoadModule authnz_ldap_module modules/
LoadModule authz_dbm_module modules/
LoadModule authz_default_module modules/
LoadModule authz_groupfile_module modules/
LoadModule authz_host_module modules/
LoadModule authz_owner_module modules/
LoadModule authz_user_module modules/
LoadModule autoindex_module modules/
<IfDefine CACHE>
LoadModule cache_module modules/
LoadModule cern_meta_module modules/
LoadModule cgi_module modules/
LoadModule cgid_module modules/
LoadModule charset_lite_module modules/
<IfDefine DAV>
LoadModule dav_module modules/
<IfDefine DAV>
LoadModule dav_fs_module modules/
<IfDefine DAV>
LoadModule dav_lock_module modules/
LoadModule dbd_module modules/
LoadModule deflate_module modules/
LoadModule dir_module modules/
<IfDefine CACHE>
LoadModule disk_cache_module modules/
LoadModule dumpio_module modules/
LoadModule env_module modules/
LoadModule expires_module modules/
LoadModule ext_filter_module modules/
<IfDefine CACHE>
LoadModule file_cache_module modules/
LoadModule filter_module modules/
LoadModule headers_module modules/
LoadModule imagemap_module modules/
LoadModule include_module modules/
<IfDefine INFO>
LoadModule info_module modules/
<IfDefine LDAP>
LoadModule ldap_module modules/
LoadModule log_config_module modules/
LoadModule log_forensic_module modules/
LoadModule logio_module modules/
<IfDefine CACHE>
LoadModule mem_cache_module modules/
LoadModule mime_module modules/
LoadModule mime_magic_module modules/
LoadModule negotiation_module modules/
<IfDefine PROXY>
LoadModule proxy_module modules/
<IfDefine PROXY>
LoadModule proxy_ajp_module modules/
<IfDefine PROXY>
LoadModule proxy_balancer_module modules/
<IfDefine PROXY>
LoadModule proxy_connect_module modules/
<IfDefine PROXY>
LoadModule proxy_ftp_module modules/
<IfDefine PROXY>
LoadModule proxy_http_module modules/
LoadModule rewrite_module modules/
LoadModule setenvif_module modules/
LoadModule speling_module modules/
<IfDefine SSL>
LoadModule ssl_module modules/
<IfDefine STATUS>
LoadModule status_module modules/
LoadModule substitute_module modules/
<IfDefine SUEXEC>
LoadModule suexec_module modules/
LoadModule unique_id_module modules/
<IfDefine USERDIR>
LoadModule userdir_module modules/
LoadModule usertrack_module modules/
LoadModule version_module modules/
LoadModule vhost_alias_module modules/

# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
User apache
Group apache

# Supplemental configuration
# Most of the configuration files in the /etc/apache2/modules.d/ directory can
# be turned on using APACHE2_OPTS in /etc/conf.d/apache2 to add extra features
# or to modify the default configuration of the server.
# To know which flag to add to APACHE2_OPTS, look at the first line of the
# the file, which will usually be an <IfDefine OPTION> where OPTION is the
# flag to use.
Include /etc/apache2/modules.d/*.conf

# Virtual-host support
# Gentoo has made using virtual-hosts easy. In /etc/apache2/vhosts.d/ we
# include a default vhost (enabled by adding -D DEFAULT_VHOST to
# APACHE2_OPTS in /etc/conf.d/apache2).
Include /etc/apache2/vhosts.d/*.conf

# vim: ts=4 filetype=apache
Baby Hen
Posts: 8
Joined: Sat Mar 01, 2014 11:15

Re: Strange apache2 Problem...

Postby Stupot » Mon Apr 07, 2014 20:33

How are you starting apache2 via the shell? Using systemd?
Sagely Hen
Posts: 1511
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Return to Sabayon Linux General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests