Hi There,
I have httpd.conf on /etc/apache2 directory, BUT it is an empty file. Pls see the sequence of commands below:
$ pwd
/etc/apache2
$ ll
total 84
drwxr-xr-x 7 root root 4096 2010-06-01 10:55 ./
drwxr-xr-x 157 root root 12288 2010-06-05 15:55 ../
-rw-r--r-- 1 root root 8113 2010-04-13 20:27 apache2.conf
drwxr-xr-x 2 root root 4096 2010-06-01 11:06 conf.d/
-rw-r--r-- 1 root root 725 2010-04-13 20:27 envvars
-rw-r--r-- 1 root root 0 2010-06-01 10:55 httpd.conf
-rw-r--r-- 1 root root 31063 2010-04-13 20:27 magic
drwxr-xr-x 2 root root 4096 2010-06-01 10:55 mods-available/
drwxr-xr-x 2 root root 4096 2010-06-01 10:55 mods-enabled/
-rw-r--r-- 1 root root 750 2010-04-13 20:27 ports.conf
drwxr-xr-x 2 root root 4096 2010-06-01 10:55 sites-available/
drwxr-xr-x 2 root root 4096 2010-06-01 10:55 sites-enabled/
$ cd conf.d
$ ll
total 20
drwxr-xr-x 2 root root 4096 2010-06-01 11:06 ./
drwxr-xr-x 7 root root 4096 2010-06-01 10:55 ../
-rw-r--r-- 1 root root 269 2010-04-13 20:27 charset
-rw-r--r-- 1 root root 3296 2010-04-13 20:27 localized-error-pages
lrwxrwxrwx 1 root root 23 2010-06-01 11:06
mantis -> /etc/mantis/apache.conf
-rw-r--r-- 1 root root 1481 2010-04-13 20:27 security
$
cat mantis
Alias /mantis /usr/share/mantis/www
<Directory /usr/share/mantis/www>
Options +FollowSymLinks
AllowOverride None
order allow,deny
allow from all
AddType application/x-httpd-php .php .phtml
<IfModule mod_php4.c>
php_flag magic_quotes_gpc Off
php_flag track_vars On
php_value include_path .:/usr/share/php:/usr/share
</IfModule>
DirectoryIndex index.php
</Directory>
# The Administrative directory should not be publicly accessible,
# since the tools herein allow for access to the database without
# authentications.
<Directory /usr/share/mantis/www/admin>
order deny,allow
deny from all
</Directory>
-----------------------------------------------------------------------------------------------------
On the other hand if I issue on my web browser:
http://localhost/usr/share/mantis/www/admin/install.php
I receive the error message:
Not Found
The requested URL /usr/share/mantis/www/admin/install.php was not found on this server.
Apache/2.2.14 (Ubuntu) Server at localhost Port 80
--------------------------------------------------------------------------------------------------------
Any help for someone just trying to see Mantis working??
Thanks a lot.
HASM