Apache 2.0.47 httpd.conf

Apache, Lighttpd, nginx, Cherokee
Post Reply
distl
Posts: 82
Joined: 2003-01-06 10:23
 

Apache 2.0.47 httpd.conf

Post by distl »

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
alexander newald
Posts: 1117
Joined: 2002-09-27 00:54
Location: Hannover
Contact:
 

Re: Apache 2.0.47 httpd.conf

Post by alexander newald »

Eigendlich nicht. Was sagt die Fehlermeldung?
distl
Posts: 82
Joined: 2003-01-06 10:23
 

Re: Apache 2.0.47 httpd.conf

Post by distl »

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.
alexander newald
Posts: 1117
Joined: 2002-09-27 00:54
Location: Hannover
Contact:
 

Re: Apache 2.0.47 httpd.conf

Post by alexander newald »

distl
Posts: 82
Joined: 2003-01-06 10:23
 

Re: Apache 2.0.47 httpd.conf

Post by distl »

Ã?hem, was hat bitte suexec mit SSL zu tun?

Gruss
alexander newald
Posts: 1117
Joined: 2002-09-27 00:54
Location: Hannover
Contact:
 

Re: Apache 2.0.47 httpd.conf

Post by alexander newald »

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
distl
Posts: 82
Joined: 2003-01-06 10:23
 

Re: Apache 2.0.47 httpd.conf

Post by distl »

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
alexander newald
Posts: 1117
Joined: 2002-09-27 00:54
Location: Hannover
Contact:
 

Re: Apache 2.0.47 httpd.conf

Post by alexander newald »

Welche Zeile ist 141?
distl
Posts: 82
Joined: 2003-01-06 10:23
 

Re: Apache 2.0.47 httpd.conf

Post by distl »

Diese:

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

Post by alexander newald »

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
distl
Posts: 82
Joined: 2003-01-06 10:23
 

Re: Apache 2.0.47 httpd.conf

Post by distl »

OK. Danke
Post Reply