subdomains in apache (xampp) einstellen
malzeit ich hätte da ma ne frage
wie kann ich in apache (xampp) meine subdomains einstellen bzw. muss ich das überhaupt?
also mein problem
ich möchte das zb.
test.domain.de
auf
domain.de/kunde/test
bzw.
D:\http\kunde\test
aufgerufen wird ohne das man es im broser siet
geht das?
und wie muss ich es in xampp einstellen
ich benutze xp als webserver
ich habe meine subdomains von selfhost.de
danke im voraus
und ich entschuldige mich für meine rechtschreibung
wie kann ich in apache (xampp) meine subdomains einstellen bzw. muss ich das überhaupt?
also mein problem
ich möchte das zb.
test.domain.de
auf
domain.de/kunde/test
bzw.
D:\http\kunde\test
aufgerufen wird ohne das man es im broser siet
geht das?
und wie muss ich es in xampp einstellen
ich benutze xp als webserver
ich habe meine subdomains von selfhost.de
danke im voraus
und ich entschuldige mich für meine rechtschreibung
Please also mark the comments that contributed to the solution of the article
Content-Key: 62469
Url: https://administrator.de/contentid/62469
Printed on: April 26, 2024 at 08:04 o'clock
7 Comments
Latest comment
Ich habe das wie folgt gelöst:
in der Datei:
apachefriends\xampp\apache\conf\extra\httpd-vhosts.conf
in der Datei:
apachefriends\xampp\apache\conf\extra\httpd-vhosts.conf
Listen 65254
NameVirtualHost *:65254
<VirtualHost *:65254>
ServerAdmin BlaBlaBla
ServerName PDAKameraInfos.BlaBla.Domain.TLD
DocumentRoot C:/apachefriends/MyWeb/KameraInfos
ErrorLog logs/KameraInfos(p)-error.log
TransferLog logs/KameraInfos(p)-access.log
ScriptAlias /cgi-bin/ /apachefriends/MyWeb/KameraInfos/cgi-bin/
AccessFileName .htaccess // Zugang nur mit PW
<Directory "C:/apachefriends/MyWeb/KameraInfos">
Options All
AllowOverride All
AddHandler cgi-script .cgi .exe
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:65254>
ServerAdmin BlaBlaBla
ServerName EkGkameras.BlaBla.Domain.TLF
DocumentRoot C:/apachefriends/MyWeb/KameraInfos
ErrorLog logs/KameraInfos(e)-error.log
TransferLog logs/KameraInfos(e)-access.log
ScriptAlias /cgi-bin/ /apachefriends/MyWeb/KameraInfos/cgi-bin/
AccessFileName .htaccessEkG // Zugang Nur mit PW
<Directory "C:/apachefriends/MyWeb/KameraInfos">
Options All
AllowOverride All
AddHandler cgi-script .cgi .exe
Order allow,deny
Allow from all
</Directory>
</VirtualHost>