Johannes Skov Frandsen skrev:
Randy Barlow skrev:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Johannes Skov Frandsen wrote:
The server obviously don't s start, but I get no error messages and I
can't locate the server log (httpd.conf suggest they are located in
/usr/lib/apache2/
but htere is no logs there).
The default location for Gentoo is /var/log/apache2 so check in there to
see if there are any errors.
I have this error in my log:
[Thu May 17 10:30:22 2007] [alert] (EAI 2) Name or service not known:
mod_unique$
Configuration Failed
so i search google and found this page:
http://www.linuxforums.org/forum/redhat-fedora-linux-help/16212-apache-webserver.html
and added this line to my hosts file:
127.0.0.1 localhost.localdomain localhost
apache starts and everybody is happy :-)
Thanks for the pointer...
Joe
Well not entirley happy it turns out as I can't get apache to handle php.
I added '-D PHP5' to APACHE2_OPTS in /etc/conf.d/apache2
but when I restart apache i get this error:
# /etc/init.d/apache2 restart
* Apache2 has detected a syntax error in your configuration files:
apache2: Syntax error on line 495 of /etc/apache2/httpd.conf: Syntax
error on li
ne 4 of /etc/apache2/modules.d/70_mod_php5.conf: API module structure
`php5_modu
le' in file /usr/lib/apache2/modules/libphp5.so is garbled - perhaps
this is not
an Apache module DSO?
I have php 5.2.2 istalled.
can't seem to find the right explenation for this behavior searching
google...any ideas any one?
Joe
--
[EMAIL PROTECTED] mailing list