skatetrash13
17.11.04, 14:48
hab mich hier im forum nun tot gesucht und verstehe nun gar nichts mehr.
hätte gerne meinen apache2 mit ssl support:
es handelt sich um nen:
Apache 2.0.52-r1
mod_php 5.0.2
php 5.0.2r1
mysql 4.0.22
und habe 2 virtuelle hosts
mysql und php funktioniern schon, aber ich bekomme ssl nicht zum laufen.
sobald ich in die /etc/conf.d/apache2 das hier reinschreibe:
APACHE2_OPTS="-D SSL PHP5"
bekomme ich folgenden error
# /etc/init.d/apache2 start
* Apache2 has detected a syntax error in your configuration files:
Usage: /usr/sbin/apache2 [-D name] [-d directory] [-f file]
[-C "directive"] [-c "directive"]
[-k start|restart|graceful|stop]
[-v] [-V] [-h] [-l] [-L] [-t] [-S]
Options:
-D name : define a name for use in <IfDefine name> directives
-d directory : specify an alternate initial ServerRoot
-f file : specify an alternate ServerConfigFile
-C "directive" : process directive before reading config files
-c "directive" : process directive after reading config files
-e level : show startup errors of level (see LogLevel)
-E file : log startup errors to file
-v : show version number
-V : show compile settings
-h : list available command line options (this page)
-l : list compiled in modules
-L : list available configuration directives
-t -D DUMP_VHOSTS : show parsed settings (currently only vhost settings)
-S : a synonym for -t -D DUMP_VHOSTS
-t : run syntax check for config files
wenn ich das ssl in der apache2.conf weg mache läuft der apache wieder, nur eben ohne ssl.
ich habe mit diesen script auch ein zertifikat erstellt:
/usr/portage/net-www/mod_ssl/files/gentestcrt.sh
und zwar in: /etc/apache2/conf/ssl/
trotzdem passiert immer noch der oben beschriebene fehler. ich habe bestimmt etwas, übersehen, überlesen, aber ich komme einfach nicht mehr drauf
hätte gerne meinen apache2 mit ssl support:
es handelt sich um nen:
Apache 2.0.52-r1
mod_php 5.0.2
php 5.0.2r1
mysql 4.0.22
und habe 2 virtuelle hosts
mysql und php funktioniern schon, aber ich bekomme ssl nicht zum laufen.
sobald ich in die /etc/conf.d/apache2 das hier reinschreibe:
APACHE2_OPTS="-D SSL PHP5"
bekomme ich folgenden error
# /etc/init.d/apache2 start
* Apache2 has detected a syntax error in your configuration files:
Usage: /usr/sbin/apache2 [-D name] [-d directory] [-f file]
[-C "directive"] [-c "directive"]
[-k start|restart|graceful|stop]
[-v] [-V] [-h] [-l] [-L] [-t] [-S]
Options:
-D name : define a name for use in <IfDefine name> directives
-d directory : specify an alternate initial ServerRoot
-f file : specify an alternate ServerConfigFile
-C "directive" : process directive before reading config files
-c "directive" : process directive after reading config files
-e level : show startup errors of level (see LogLevel)
-E file : log startup errors to file
-v : show version number
-V : show compile settings
-h : list available command line options (this page)
-l : list compiled in modules
-L : list available configuration directives
-t -D DUMP_VHOSTS : show parsed settings (currently only vhost settings)
-S : a synonym for -t -D DUMP_VHOSTS
-t : run syntax check for config files
wenn ich das ssl in der apache2.conf weg mache läuft der apache wieder, nur eben ohne ssl.
ich habe mit diesen script auch ein zertifikat erstellt:
/usr/portage/net-www/mod_ssl/files/gentestcrt.sh
und zwar in: /etc/apache2/conf/ssl/
trotzdem passiert immer noch der oben beschriebene fehler. ich habe bestimmt etwas, übersehen, überlesen, aber ich komme einfach nicht mehr drauf