I recently made a stupid mistake, I changed linux distributions without making proper backups of certain files, the most important being httpd.conf.
The following is a brief description of my directory structure and where my files are located.
/srv/www/htdocs/alpha
/srv/www/htdocs/include
I want when I go to 192.168.1.102 (the static IP I have set up for my server) all the content in alpha to come up, however there is content in alpha that will call information from include. By which I mean I have content in alpha and need files in include and other sub directories to be accessible.
The following is a trimed down version of my httpd.conf file
# 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
Include /etc/apache2/sysconfig.d/l
oadmodule.
conf
Include /etc/apache2/listen.conf
Include /etc/apache2/mod_log_confi
g.conf
Include /etc/apache2/sysconfig.d/g
lobal.conf
Include /etc/apache2/mod_status.co
nf
Include /etc/apache2/mod_info.conf
Include /etc/apache2/mod_usertrack
.conf
Include /etc/apache2/mod_autoindex
-defaults.
conf
TypesConfig /etc/apache2/mime.types
DefaultType text/plain
Include /etc/apache2/mod_mime-defa
ults.conf
Include /etc/apache2/errors.conf
Include /etc/apache2/ssl-global.co
nf
<Directory />
Options None
AllowOverride None
Order deny,allow
Deny from all
</Directory>
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
DirectoryIndex index.php index.html index.html.var
Include /etc/apache2/default-serve
r.conf
Include /etc/apache2/sysconfig.d/i
nclude.con
f
Include /etc/apache2/vhosts.d/*.co
nf
The following is a trimmed down version of my the default-server.conf
#
# Global configuration that will be applicable for all virtual hosts, unless
# deleted here, or overriden elswhere.
#
DocumentRoot "/srv/www/htdocs"
<Directory "/srv/www/htdocs">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /icons/ "/usr/share/apache2/icons/
"
<Directory "/usr/share/apache2/icons"
>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/"
<Directory "/srv/www/cgi-bin">
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
</Directory>
<Directory "/srv/www/htdocs/alpha">
AllowOverride Indexes
Options None
Order allow,deny
Allow from all
</Directory>
Include /etc/apache2/conf.d/*.conf
Include /etc/apache2/conf.d/apache
2-manual?c
onf
ServerName dell
ServerAdmin root@dell
Any ideas what I'm doing wrong and where?