Discussione:
xampp: non riesco ad accedere al sito (Error 403)
(troppo vecchio per rispondere)
alex
2012-10-01 16:14:38 UTC
Permalink
ho installato poco fa l'ultima versione: 1.8.1

Ho configurato i virtual-host in questo modo:

#localhost
<VirtualHost *:80>
DocumentRoot "F:/programmi-portatili/xampp/htdocs"
ServerName localhost
</VirtualHost>

#siti.local
<VirtualHost *:80>
DocumentRoot "G:/siti"
ServerName siti.local
<Directory "G:/siti">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

Quindi a http://localhost mi collego senza problemi.

Invece a http://siti.local/mio-file.php mi da questo errore:

Accesso negato!

Non disponi dei permessi necessari per accedere all'oggetto richiesto,
oppure l'oggetto non può essere letto dal server.

Se pensi che questo sia un errore del server, per favore contatta il
webmaster.

Error 403


Perchè?
La vecchia versione andava bene...
Andrea D'Amore
2012-10-02 07:22:44 UTC
Permalink
Post by alex
Perchè?
Che dice il registro degli errori?
lorenz0
2012-10-03 15:27:58 UTC
Permalink
Post by Andrea D'Amore
Post by alex
Perchè?
Che dice il registro degli errori?
quello di windows, di apache?

Quello di apache:

[Wed Oct 03 17:12:59.593750 2012] [ssl:warn] [pid 3968:tid 196] AH01873:
Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Oct 03 17:13:00.140625 2012] [mpm_winnt:notice] [pid 3968:tid 196]
AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured --
resuming normal operations
[Wed Oct 03 17:13:00.156250 2012] [mpm_winnt:notice] [pid 3968:tid 196]
AH00456: Server built: Aug 18 2012 12:41:37
[Wed Oct 03 17:13:00.156250 2012] [core:notice] [pid 3968:tid 196]
AH00094: Command line: 'd:\\xappppp\\xampp\\apache\\bin\\httpd.exe -d
D:/xappppp/xampp/apache'
[Wed Oct 03 17:13:00.171875 2012] [mpm_winnt:notice] [pid 3968:tid 196]
AH00418: Parent: Created child process 3984
AH00548: NameVirtualHost has no effect and will be removed in the next
release D:/xappppp/xampp/apache/conf/extra/httpd-vhosts.conf:48
AH00112: Warning: DocumentRoot [D:/xappppp/sit] does not exist
AH00112: Warning: DocumentRoot [D:/xappppp/sit] does not exist
[Wed Oct 03 17:13:00.937500 2012] [ssl:warn] [pid 3984:tid 1884]
AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Oct 03 17:13:01.046875 2012] [mpm_winnt:notice] [pid 3984:tid 1884]
AH00354: Child: Starting 150 worker threads.
[Wed Oct 03 17:13:06.781250 2012] [authz_core:error] [pid 3984:tid 504]
[client 127.0.0.1:1056] AH01630: client denied by server configuration:
D:/xappppp/sit
[Wed Oct 03 17:16:27.515625 2012] [core:warn] [pid 3400:tid 196]
AH00098: pid file D:/xappppp/xampp/apache/logs/httpd.pid overwritten --
Unclean shutdown of previous Apache run?
[Wed Oct 03 17:16:27.687500 2012] [ssl:warn] [pid 3400:tid 196] AH01873:
Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Oct 03 17:16:27.765625 2012] [mpm_winnt:notice] [pid 3400:tid 196]
AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured --
resuming normal operations
[Wed Oct 03 17:16:27.765625 2012] [mpm_winnt:notice] [pid 3400:tid 196]
AH00456: Server built: Aug 18 2012 12:41:37
[Wed Oct 03 17:16:27.765625 2012] [core:notice] [pid 3400:tid 196]
AH00094: Command line: 'd:\\xappppp\\xampp\\apache\\bin\\httpd.exe -d
D:/xappppp/xampp/apache'
[Wed Oct 03 17:16:27.765625 2012] [mpm_winnt:notice] [pid 3400:tid 196]
AH00418: Parent: Created child process 3408
AH00548: NameVirtualHost has no effect and will be removed in the next
release D:/xappppp/xampp/apache/conf/extra/httpd-vhosts.conf:48
[Wed Oct 03 17:16:28.546875 2012] [ssl:warn] [pid 3408:tid 1884]
AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Oct 03 17:16:28.625000 2012] [mpm_winnt:notice] [pid 3408:tid 1884]
AH00354: Child: Starting 150 worker threads.
[Wed Oct 03 17:16:29.781250 2012] [authz_core:error] [pid 3408:tid 504]
[client 127.0.0.1:1071] AH01630: client denied by server configuration:
D:/xappppp/sito/
[Wed Oct 03 17:16:39.953125 2012] [authz_core:error] [pid 3408:tid 504]
[client 127.0.0.1:1072] AH01630: client denied by server configuration:
D:/xappppp/sito/
[Wed Oct 03 17:16:40.125000 2012] [authz_core:error] [pid 3408:tid 504]
[client 127.0.0.1:1072] AH01630: client denied by server configuration:
D:/xappppp/sito/
[Wed Oct 03 17:17:09.437500 2012] [authz_core:error] [pid 3408:tid 524]
[client 127.0.0.1:1079] AH01630: client denied by server configuration:
D:/xappppp/sito/
[Wed Oct 03 17:17:09.906250 2012] [authz_core:error] [pid 3408:tid 524]
[client 127.0.0.1:1079] AH01630: client denied by server configuration:
D:/xappppp/sito/
alex
2012-10-03 15:30:02 UTC
Permalink
Post by Andrea D'Amore
Post by alex
Perchè?
Che dice il registro degli errori?
quello di windows o di apache?

Quello di apache:

[Wed Oct 03 17:12:59.593750 2012] [ssl:warn] [pid 3968:tid 196] AH01873:
Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Oct 03 17:13:00.140625 2012] [mpm_winnt:notice] [pid 3968:tid 196]
AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured --
resuming normal operations
[Wed Oct 03 17:13:00.156250 2012] [mpm_winnt:notice] [pid 3968:tid 196]
AH00456: Server built: Aug 18 2012 12:41:37
[Wed Oct 03 17:13:00.156250 2012] [core:notice] [pid 3968:tid 196]
AH00094: Command line: 'd:\\xappppp\\xampp\\apache\\bin\\httpd.exe -d
D:/xappppp/xampp/apache'
[Wed Oct 03 17:13:00.171875 2012] [mpm_winnt:notice] [pid 3968:tid 196]
AH00418: Parent: Created child process 3984
AH00548: NameVirtualHost has no effect and will be removed in the next
release D:/xappppp/xampp/apache/conf/extra/httpd-vhosts.conf:48
AH00112: Warning: DocumentRoot [D:/xappppp/sit] does not exist
AH00112: Warning: DocumentRoot [D:/xappppp/sit] does not exist
[Wed Oct 03 17:13:00.937500 2012] [ssl:warn] [pid 3984:tid 1884]
AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Oct 03 17:13:01.046875 2012] [mpm_winnt:notice] [pid 3984:tid 1884]
AH00354: Child: Starting 150 worker threads.
[Wed Oct 03 17:13:06.781250 2012] [authz_core:error] [pid 3984:tid 504]
[client 127.0.0.1:1056] AH01630: client denied by server configuration:
D:/xappppp/sit
[Wed Oct 03 17:16:27.515625 2012] [core:warn] [pid 3400:tid 196]
AH00098: pid file D:/xappppp/xampp/apache/logs/httpd.pid overwritten --
Unclean shutdown of previous Apache run?
[Wed Oct 03 17:16:27.687500 2012] [ssl:warn] [pid 3400:tid 196] AH01873:
Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Oct 03 17:16:27.765625 2012] [mpm_winnt:notice] [pid 3400:tid 196]
AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured --
resuming normal operations
[Wed Oct 03 17:16:27.765625 2012] [mpm_winnt:notice] [pid 3400:tid 196]
AH00456: Server built: Aug 18 2012 12:41:37
[Wed Oct 03 17:16:27.765625 2012] [core:notice] [pid 3400:tid 196]
AH00094: Command line: 'd:\\xappppp\\xampp\\apache\\bin\\httpd.exe -d
D:/xappppp/xampp/apache'
[Wed Oct 03 17:16:27.765625 2012] [mpm_winnt:notice] [pid 3400:tid 196]
AH00418: Parent: Created child process 3408
AH00548: NameVirtualHost has no effect and will be removed in the next
release D:/xappppp/xampp/apache/conf/extra/httpd-vhosts.conf:48
[Wed Oct 03 17:16:28.546875 2012] [ssl:warn] [pid 3408:tid 1884]
AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Oct 03 17:16:28.625000 2012] [mpm_winnt:notice] [pid 3408:tid 1884]
AH00354: Child: Starting 150 worker threads.
[Wed Oct 03 17:16:29.781250 2012] [authz_core:error] [pid 3408:tid 504]
[client 127.0.0.1:1071] AH01630: client denied by server configuration:
D:/xappppp/sito/
[Wed Oct 03 17:16:39.953125 2012] [authz_core:error] [pid 3408:tid 504]
[client 127.0.0.1:1072] AH01630: client denied by server configuration:
D:/xappppp/sito/
[Wed Oct 03 17:16:40.125000 2012] [authz_core:error] [pid 3408:tid 504]
[client 127.0.0.1:1072] AH01630: client denied by server configuration:
D:/xappppp/sito/
[Wed Oct 03 17:17:09.437500 2012] [authz_core:error] [pid 3408:tid 524]
[client 127.0.0.1:1079] AH01630: client denied by server configuration:
D:/xappppp/sito/
[Wed Oct 03 17:17:09.906250 2012] [authz_core:error] [pid 3408:tid 524]
[client 127.0.0.1:1079] AH01630: client denied by server configuration:
D:/xappppp/sito/
alex
2012-10-08 14:05:09 UTC
Permalink
Post by lorenz0
AH00548: NameVirtualHost has no effect and will be removed in the next
release D:/xappppp/xampp/apache/conf/extra/httpd-vhosts.conf:48
[Wed Oct 03 17:16:28.546875 2012] [ssl:warn] [pid 3408:tid 1884]
AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Oct 03 17:16:28.625000 2012] [mpm_winnt:notice] [pid 3408:tid 1884]
AH00354: Child: Starting 150 worker threads.
[Wed Oct 03 17:16:29.781250 2012] [authz_core:error] [pid 3408:tid 504]
D:/xappppp/sito/
[Wed Oct 03 17:16:39.953125 2012] [authz_core:error] [pid 3408:tid 504]
D:/xappppp/sito/
[Wed Oct 03 17:16:40.125000 2012] [authz_core:error] [pid 3408:tid 504]
D:/xappppp/sito/
[Wed Oct 03 17:17:09.437500 2012] [authz_core:error] [pid 3408:tid 524]
D:/xappppp/sito/
[Wed Oct 03 17:17:09.906250 2012] [authz_core:error] [pid 3408:tid 524]
D:/xappppp/sito/
niente
alex
2012-10-08 14:34:11 UTC
Permalink
Post by lorenz0
AH00548: NameVirtualHost has no effect and will be removed in the next
release D:/xappppp/xampp/apache/conf/extra/httpd-vhosts.conf:48
[Wed Oct 03 17:16:28.546875 2012] [ssl:warn] [pid 3408:tid 1884]
AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Wed Oct 03 17:16:28.625000 2012] [mpm_winnt:notice] [pid 3408:tid 1884]
AH00354: Child: Starting 150 worker threads.
[Wed Oct 03 17:16:29.781250 2012] [authz_core:error] [pid 3408:tid 504]
D:/xappppp/sito/
[Wed Oct 03 17:16:39.953125 2012] [authz_core:error] [pid 3408:tid 504]
D:/xappppp/sito/
[Wed Oct 03 17:16:40.125000 2012] [authz_core:error] [pid 3408:tid 504]
D:/xappppp/sito/
[Wed Oct 03 17:17:09.437500 2012] [authz_core:error] [pid 3408:tid 524]
D:/xappppp/sito/
[Wed Oct 03 17:17:09.906250 2012] [authz_core:error] [pid 3408:tid 524]
D:/xappppp/sito/
niente idee?
Si deve configurare l'ssl?

Loading...