Hallo zusammen,
ich habe folgendes Problem:
unsere Fritz Box hat einen USB-Anschluss über den man ein Netzwerklaufwerk einrichten kann,
wenn man einen Stick oder externe Festplatte anschließt.
Das funktioniert auch prima und ich hatte die Idee unsere Website darauf abzulegen, damit man sie vom Notebook
oder dem lokalen Rechner bearbeiten kann - das geht auch. Nur die Vorschau mit Xampp funktioniert nicht.
Netzlaufwerk H:\
IP der Fritzbox 192.168.178.1
Wenn ich die Pfade in httpd-vhosts.conf anpasse:
NameVirtualHost 127.0.0.1
<VirtualHost 127.0.0.1>
ServerName localhost
AddType text/html .shtml
AddHandler server-parsed .shtml
ServerAdmin webmaster@localhost
DocumentRoot C:/xampp/htdocs
ScriptAlias /cgi-bin/ "c:/xampp/htdocs/cgi-bin/"
<Directory "C:/xampp/htdocs">
Options Indexes FollowSymLinks
Options +Includes
AllowOverride FileInfo
AllowOverride None
Order allow,deny
Allow from all
DirectoryIndex index.html index.htm index.php
</Directory>
</VirtualHost>
NameVirtualHost 192.168.178.1
<VirtualHost 192.168.178.1>
ServerName testsite
AddType text/html .shtml
AddHandler server-parsed .shtml
ServerAdmin webmaster@localhost
DocumentRoot H:/localserver/testsite
ScriptAlias /cgi-bin/ "c:/xampp/htdocs/cgi-bin/"
<Directory "H:/localserver/testsite">
Options Indexes FollowSymLinks
Options +Includes
AllowOverride FileInfo
AllowOverride All
Order allow,deny
Allow from all
DirectoryIndex index.html index.htm index.php
</Directory>
</VirtualHost>
Weiterhin Anpassen der Datei hosts in c:\windows\system32\drivers\etc
127.0.0.1 localhost
192.168.178.1 testsite
Wo liegt der Fehler, wer kann helfen? Oder kann das so nicht funktionieren?
Vielen Dank im Voraus
biker5