Thread Apache Domain einrichten: virtual (75 answers)
Opened by Froschpopo at 2004-07-22 11:15

jan
 2004-07-22 13:40
#30879 #30879
User since
2003-08-04
2536 Artikel
ModeratorIn
[Homepage] [default_avatar]
um ehrlich zu sein, ist deine config-file die hölle ;) alles irgendwie durcheinander.

du benutzt kein SSL, richtig?
der vhost für projektgemeinschaft.de liegt aber innerhalb von
<IfDefine SSL>, nimm ihn da mal raus.
am besten pack einfach das hier außerhalb aller conditional-tags ans ende der httpd.conf
wenn's damit nicht läuft gib nochmal bescheid. wenn ein fehler drinsteckt, poste mal das resultat von apachectl configtest
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
NameVirtualHost 212.6.225.4


<VirtualHost 212.6.225.4>
ServerName www.try2flirt.de
DocumentRoot /usr/local/httpd/htdocs
ServerAdmin [EMAIL=you@your.address]you@your.address[/EMAIL]
ErrorLog /var/log/httpd/error_log
TransferLog /var/log/httpd/access_log
<Location /cgi-bin/index.pl> # das try2flirt.de - Script
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
</Location>
</VirtualHost>


<VirtualHost 212.6.225.4>
ServerName www.projektgemeinschaft.de
ServerAlias *.projektgemeinschaft.de
DocumentRoot /usr/local/httpd/htdocs/verein/
<Location /cgi-bin/projektgemeinschaft_index.pl>
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
</Location>
</VirtualHost>

View full thread Apache Domain einrichten: virtual