Hi,
We have a PowerEdge redhat Linux system. When system
administer installed the machine, apache1.3.15 and
PHP3.0 and Perl seemed to be there. Previous document
root is /home/httpd/html, but we couldnt find apache's
directory. PHP directory couldnt be found either, but
we did see /.php3.ini, but lot of PHP files seemed to
be missing. We want to use mysql to host web-dased
database, so we downloaded mysql. However,we got code
instead of web page when we tested <?php phpinfo()?>,
PHP functions looked like that our apache, mysql and
PHP couldnt be get together.
Therefore, we decided to download latest apache and
PHP installed in the linux machine. WHen we configured
PHP and apache, everything looked like fine. Our PHP,
apache, mysql all were located in /usr/local/. We
didnt delete old apache and PHP because we didnt have
apache and PHP directories and path, so not sure which
files need to be cut.
In old apache documentroot is /home/httpd/html,
in new apache documentroot is /usr/local/apache/htdocs
Old apache httpd.conf is located in /etc/httpd/conf/
New apache httpd.conf is located in
/usr/local/apache/conf
Now we have two httpd.conf in the linux machine, I
might delete old one's httpd.conf? Also need to delete
others? That is why we used linuxconf to change old
setup to new setup, it seemed to not work right.
Right now we errors like that:
"forbidden: you dont have pemissions to access the
sever", but I did check httpd.conf and didnt have
<file ~>.
Error_log looked like " apache 1.3.15, PHP3.0 and
Perl1.2....in normal operations",
" [Sun Mar 4 10:31:02 2001] [error] [client ] client
denied by server configuration:
/usr/local/apache/htdocs/pmd/test.php
[Sun Mar 4 10:31:08 2001] [error] [client ] client
denied by server configuration:
/usr/local/apache/htdocs"
I just deleted httpd.conf and access.conf in old
apache 's /etc/httpd/, but I still got same error_log
like above. Have any other files need to be
configured?
Sorry for the long email.
Appreciate your time and help,
Hui