Apache 2.0.47 httpd.conf
Apache 2.0.47 httpd.conf
Hallo,
ich habe jetzt mein System komplett mit allem drum und dran auf den neuesten Stand gebracht.
Alles läuft bis auf den Apachen.
Irgendiwe habe ich gelesen, dass die Virtual Hosts anders deklariert sein müssen als in den Versionen 1.3x.
Könnte mir bitte jemand ein Beispiel dafür geben?
Danke
Gruss
ich habe jetzt mein System komplett mit allem drum und dran auf den neuesten Stand gebracht.
Alles läuft bis auf den Apachen.
Irgendiwe habe ich gelesen, dass die Virtual Hosts anders deklariert sein müssen als in den Versionen 1.3x.
Könnte mir bitte jemand ein Beispiel dafür geben?
Danke
Gruss
-
alexander newald
- Posts: 1117
- Joined: 2002-09-27 00:54
- Location: Hannover
- Contact:
Re: Apache 2.0.47 httpd.conf
Eigendlich nicht. Was sagt die Fehlermeldung?
Re: Apache 2.0.47 httpd.conf
Fehler beim Starten von Apache :
Starting Apache with SSL...
Syntax error on line 141 of /etc/httpd/vhosts.oldip:
User cannot occur within section
[1mError 1! Couln't start Apache![m
Komisch sieht sie schon aus diese Meldung.
Starting Apache with SSL...
Syntax error on line 141 of /etc/httpd/vhosts.oldip:
User cannot occur within section
[1mError 1! Couln't start Apache![m
Komisch sieht sie schon aus diese Meldung.
-
alexander newald
- Posts: 1117
- Joined: 2002-09-27 00:54
- Location: Hannover
- Contact:
Re: Apache 2.0.47 httpd.conf
http://httpd.apache.org/docs-2.0/ -> Suexec für CGI
Re: Apache 2.0.47 httpd.conf
Ã?hem, was hat bitte suexec mit SSL zu tun?
Gruss
Gruss
-
alexander newald
- Posts: 1117
- Joined: 2002-09-27 00:54
- Location: Hannover
- Contact:
Re: Apache 2.0.47 httpd.conf
Hast du dir die Seite durchgelesen? Sicher nein! Wer sagt, dass der Fehler von SSL kommt??
Apache 2 kennt keine User/Group Anweisung mehr, sondern die heissen anders, aber einfach mal die von mir angegebene Seite lesen...
Ansonsten einfach mal den Abschnitt aus der httpd.conf posten
Apache 2 kennt keine User/Group Anweisung mehr, sondern die heissen anders, aber einfach mal die von mir angegebene Seite lesen...
Ansonsten einfach mal den Abschnitt aus der httpd.conf posten
Re: Apache 2.0.47 httpd.conf
suexec ist aber installiert.
Kann also nicht daran liegen.
Hier ist ein Auszug der conf
NameVirtualHost 195.xx.xxx.51
<Directory "/home/www">
<Files ~ "^.ht">
deny from all
</Files>
AllowOverride None
AllowOverride Indexes AuthConfig Limit FileInfo
Options -FollowSymLinks -SymLinksIfOwnerMatch Includes
</Directory>
<Directory "/home/www/user1/html">
DirectoryIndex index.html index.htm index.php index.php3 index.php4 index.shtml index.shtm index.sht
Options +ExecCGI +Includes
</Directory>
<Directory "/home/www/user1/logs">
AllowOverride all
DirectoryIndex index.html index.htm
AuthType Basic
AuthName "Logdateien"
AuthUserFile /etc/userlist.conf
require user user1
</Directory>
<VirtualHost 195.xx.xxx.51>
ServerName user1.server.de
DocumentRoot /home/www/user1/html
User user1
Group ftponly
php_admin_value open_basedir /home/www/user1
php_admin_value upload_tmp_dir /home/www/user1/phptmp
CustomLog /home/www/user1/logs/access_log common
CustomLog /var/log/httpd/access_log common
CustomLog /var/log/httpd/http_traffic_log traffic
ServerAlias domain.de
ServerAlias http://www.domain.de
</VirtualHost>
<VirtualHost 195.xx.xxx.51>
ServerName log.user1.server.de
DocumentRoot /home/www/user1/logs
User user1
Group ftponly
</VirtualHost>
Gruss
Kann also nicht daran liegen.
Hier ist ein Auszug der conf
NameVirtualHost 195.xx.xxx.51
<Directory "/home/www">
<Files ~ "^.ht">
deny from all
</Files>
AllowOverride None
AllowOverride Indexes AuthConfig Limit FileInfo
Options -FollowSymLinks -SymLinksIfOwnerMatch Includes
</Directory>
<Directory "/home/www/user1/html">
DirectoryIndex index.html index.htm index.php index.php3 index.php4 index.shtml index.shtm index.sht
Options +ExecCGI +Includes
</Directory>
<Directory "/home/www/user1/logs">
AllowOverride all
DirectoryIndex index.html index.htm
AuthType Basic
AuthName "Logdateien"
AuthUserFile /etc/userlist.conf
require user user1
</Directory>
<VirtualHost 195.xx.xxx.51>
ServerName user1.server.de
DocumentRoot /home/www/user1/html
User user1
Group ftponly
php_admin_value open_basedir /home/www/user1
php_admin_value upload_tmp_dir /home/www/user1/phptmp
CustomLog /home/www/user1/logs/access_log common
CustomLog /var/log/httpd/access_log common
CustomLog /var/log/httpd/http_traffic_log traffic
ServerAlias domain.de
ServerAlias http://www.domain.de
</VirtualHost>
<VirtualHost 195.xx.xxx.51>
ServerName log.user1.server.de
DocumentRoot /home/www/user1/logs
User user1
Group ftponly
</VirtualHost>
Gruss
-
alexander newald
- Posts: 1117
- Joined: 2002-09-27 00:54
- Location: Hannover
- Contact:
Re: Apache 2.0.47 httpd.conf
Welche Zeile ist 141?
Re: Apache 2.0.47 httpd.conf
Diese:
DocumentRoot /home/www/user1/html
DocumentRoot /home/www/user1/html
-
alexander newald
- Posts: 1117
- Joined: 2002-09-27 00:54
- Location: Hannover
- Contact:
Re: Apache 2.0.47 httpd.conf
Bzw. wohl die
User user1
Wie schon oben geschrieben:
http://httpd.apache.org/docs-2.0/ -> Suexec für CGI
Die Seite lesen :!: Denn User/Group gibt es nicht mehr...
Hint: http://httpd.apache.org/docs-2.0/mod/mo ... cusergroup
User user1
Wie schon oben geschrieben:
http://httpd.apache.org/docs-2.0/ -> Suexec für CGI
Die Seite lesen :!: Denn User/Group gibt es nicht mehr...
Hint: http://httpd.apache.org/docs-2.0/mod/mo ... cusergroup