Ho un'installazione XAMPP in esecuzione su Windows 7.
Non appena aggiungo un VirtualHost a httpd-vhosts.conf, ENTRAMBI i "normali" http://localhostE i nuovi dropbox.local non funzionano.
Questo è ciò che ho aggiunto al mio httpd-vhosts.conf:
<VirtualHost *:80>
ServerAdmin postmaster@dummy-host.localhost
DocumentRoot "E:/Documenten/Dropbox/Dropbox/dummy-htdocs"
ServerName dropbox.local
ServerAlias www.dropbox.local
ErrorLog "logs/dropbox.local-error.log"
CustomLog "logs/dropbox.local-access.log" combined
</VirtualHost>
Quindi ho cercato il mio dropbox.local-error.logper qualsiasi informazione:
[Thu Feb 02 10:41:57 2012] [error] [client 127.0.0.1] client denied by server configuration: E:/Documenten/Dropbox/Dropbox/dummy-htdocs/
Questo errore sembra essere risolto aggiungendo
<directory "E:/Documenten/Dropbox/Dropbox/dummy-htdocs">
Allow from all
</directory>
Ma ora ho questo errore in dropbox.local-error.log:
[Thu Feb 02 10:45:56 2012] [error] [client ::1] Directory index forbidden by Options directive: E:/Documenten/Dropbox/Dropbox/dummy-htdocs/
Inoltre, quando provo ad accedere http://localhost, non ricevo alcun errore nel normale error.log, anche se ottengo il error 403momento in cui provo ad accedervi.
Qualcuno può aiutare ... Mi sta facendo impazzire: S
EDIT: Anche httpd.confqui c'è il seguente (l'ho visto menzionato più volte, quindi prima che qualcuno lo dica):
<IfModule dir_module>
DirectoryIndex index.php index.pl index.cgi index.asp index.shtml index.html index.htm \
default.php default.pl default.cgi default.asp default.shtml default.html default.htm \
home.php home.pl home.cgi home.asp home.shtml home.html home.htm
</IfModule>