I installed apache using these command,
"emerge sync && emerge mod_php"
changing servername in /etc/apache2/conf/apache2.conf
"echo "APACHE2_OPTS=\"-D SSL -D PHP4\"" >> /etc/conf.d/apache2"
but when i start it with "/etc/init.d/apache2 start" i get a syntax error saying:
Syntax error on line 44 of /usr/lib/apache2/conf/modules.d/41_mod_ssl.default-vhost.conf:
SSLCertificateFile: file '/usr/lib/apache2/conf/ssl/server.crt' does not exist or is empty
when i turn off SSL i get another error saying there is no error_log
apache problem
i didn't get this ssl error before
so i got turned off ssl like you
find a directory that contains the log file,
then change ownership root to apache
find a directory that contains the log file,
then change ownership root to apache
-
- Newbie
- Posts: 5
- Joined: Wed Dec 15, 2004 3:42 am
-
- Gentoox Guru!
- Posts: 1681
- Joined: Sun Sep 28, 2003 11:59 am
- Location: Manchester, UK
-
- Newbie
- Posts: 3
- Joined: Thu Nov 04, 2004 1:20 am
- Location: Atlanta, GA
if you guys do happen to want SSL support for your apache installation, you will need to copy server.crt and server.key from /var/tmp/portage/ to /etc/apache2/conf/ssl (you'll have to mkdir the directory). Then also make sure /var/cache/apache2 exists. This is all due to some inconvenient problem with the current net-www/apache-2.0.52-r1 ebuild.
here are two great links to help you out further http://gentoo-wiki.com/HOWTO_Apache2 (gentoo wiki how-to on apache) and http://forums.gentoo.org/viewtopic.php? ... highlight= (gentoo forums post regarding this problem)...
hope this helps
here are two great links to help you out further http://gentoo-wiki.com/HOWTO_Apache2 (gentoo wiki how-to on apache) and http://forums.gentoo.org/viewtopic.php? ... highlight= (gentoo forums post regarding this problem)...
hope this helps