.. that direction download the index.php, whit all the content inside..
- Code: Select all
<?php
if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
$uri = 'https://';
} else {
$uri = 'http://';
}
$uri .= $_SERVER['HTTP_HOST'];
header('Location: '.$uri.'/xampp/');
exit;
?>
Something is wrong with the XAMPP installation :-(
error_log:
- Code: Select all
[Fri Aug 03 14:21:50.035207 2012] [ssl:warn] [pid 14011] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Aug 03 14:21:50.035322 2012] [ssl:warn] [pid 14011] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Fri Aug 03 14:21:50.035356 2012] [suexec:notice] [pid 14011] AH01232: suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Fri Aug 03 14:21:50.188498 2012] [auth_digest:notice] [pid 14012] AH01757: generating secret for digest authentication ...
[Fri Aug 03 14:21:51.096163 2012] [ssl:warn] [pid 14012] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Aug 03 14:21:51.096206 2012] [ssl:warn] [pid 14012] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Fri Aug 03 14:21:51.096247 2012] [lbmethod_heartbeat:notice] [pid 14012] AH02282: No slotmem from mod_heartmonitor
[Fri Aug 03 14:21:51.105129 2012] [mpm_prefork:notice] [pid 14012] AH00163: Apache/2.4.2 (Unix) OpenSSL/1.0.1c PHP/5.4.4 configured -- resuming normal operations
[Fri Aug 03 14:21:51.105193 2012] [core:notice] [pid 14012] AH00094: Command line: '/opt/lampp/bin/httpd -D SSL -D PHP5 -E /opt/lampp/logs/error_log'
access_log:
- Code: Select all
127.0.0.1 - - [03/Aug/2012:14:14:31 -0300] "GET /xampp/ HTTP/1.1" 302 -
127.0.0.1 - - [03/Aug/2012:14:14:31 -0300] "GET /xampp/splash.php HTTP/1.1" 200 1321
127.0.0.1 - - [03/Aug/2012:14:14:31 -0300] "GET /xampp/img/xampp-logo.jpg HTTP/1.1" 200 19738
127.0.0.1 - - [03/Aug/2012:14:14:48 -0300] "GET /xampp/lang.php?es HTTP/1.1" 302 -
127.0.0.1 - - [03/Aug/2012:14:14:48 -0300] "GET /xampp/index.php HTTP/1.1" 200 589
127.0.0.1 - - [03/Aug/2012:14:14:48 -0300] "GET /xampp/head.php HTTP/1.1" 200 1362
127.0.0.1 - - [03/Aug/2012:14:14:48 -0300] "GET /xampp/navi.php HTTP/1.1" 200 2321
127.0.0.1 - - [03/Aug/2012:14:14:48 -0300] "GET /xampp/start.php HTTP/1.1" 200 856
127.0.0.1 - - [03/Aug/2012:14:14:49 -0300] "GET /xampp/php.php HTTP/1.0" 200 2
127.0.0.1 - - [03/Aug/2012:14:14:49 -0300] "GET /xampp/mysql.php HTTP/1.0" 200 2
127.0.0.1 - - [03/Aug/2012:14:14:49 -0300] "GET /xampp/cgi.cgi HTTP/1.0" 200 3
127.0.0.1 - - [03/Aug/2012:14:14:50 -0300] "GET /xampp/ssi.shtml HTTP/1.0" 200 4
127.0.0.1 - - [03/Aug/2012:14:14:50 -0300] "GET /xampp/perl.pl HTTP/1.0" 200 2
127.0.0.1 - - [03/Aug/2012:14:14:49 -0300] "GET /xampp/status.php HTTP/1.1" 200 3879
127.0.0.1 - - [03/Aug/2012:14:14:51 -0300] "GET /xampp/security.php HTTP/1.1" 200 3941
127.0.0.1 - - [03/Aug/2012:14:15:43 -0300] "GET /xampp/security.php HTTP/1.1" 401 1394
127.0.0.1 - - [03/Aug/2012:14:15:45 -0300] "GET /xampp/security.php HTTP/1.1" 401 1394
127.0.0.1 - - [03/Aug/2012:14:15:45 -0300] "GET /xampp/security.php HTTP/1.1" 401 1394
127.0.0.1 - - [03/Aug/2012:14:15:51 -0300] "GET /xampp/security.php HTTP/1.1" 401 1394
127.0.0.1 - lampp [03/Aug/2012:14:15:55 -0300] "GET /xampp/security.php HTTP/1.1" 200 2661
127.0.0.1 - lampp [03/Aug/2012:14:16:13 -0300] "GET /xampp/php.php HTTP/1.0" 200 2
127.0.0.1 - lampp [03/Aug/2012:14:16:13 -0300] "GET /xampp/mysql.php HTTP/1.0" 200 2
127.0.0.1 - lampp [03/Aug/2012:14:16:13 -0300] "GET /xampp/cgi.cgi HTTP/1.0" 200 3
127.0.0.1 - lampp [03/Aug/2012:14:16:13 -0300] "GET /xampp/ssi.shtml HTTP/1.0" 200 4
127.0.0.1 - lampp [03/Aug/2012:14:16:13 -0300] "GET /xampp/perl.pl HTTP/1.0" 200 2
127.0.0.1 - lampp [03/Aug/2012:14:16:13 -0300] "GET /xampp/status.php HTTP/1.1" 200 3879
192.168.0.51 - - [03/Aug/2012:14:26:35 -0300] "GET / HTTP/1.1" 302 -
192.168.0.51 - - [03/Aug/2012:14:26:35 -0300] "GET /xampp/ HTTP/1.1" 401 1385
192.168.0.51 - lampp [03/Aug/2012:14:27:30 -0300] "GET /xampp/ HTTP/1.1" 200 589
192.168.0.51 - lampp [03/Aug/2012:14:27:30 -0300] "GET /xampp/head.php HTTP/1.1" 200 1362
192.168.0.51 - lampp [03/Aug/2012:14:27:30 -0300] "GET /xampp/navi.php HTTP/1.1" 200 2321
192.168.0.51 - lampp [03/Aug/2012:14:27:30 -0300] "GET /xampp/start.php HTTP/1.1" 200 856
192.168.0.51 - lampp [03/Aug/2012:14:27:31 -0300] "GET /xampp/xampp.css HTTP/1.1" 200 3991
192.168.0.51 - lampp [03/Aug/2012:14:27:31 -0300] "GET /xampp/img/blank.gif HTTP/1.1" 200 43
192.168.0.51 - lampp [03/Aug/2012:14:27:31 -0300] "GET /xampp/img/xampp-logo-new.gif HTTP/1.1" 200 4878
192.168.0.51 - lampp [03/Aug/2012:14:27:31 -0300] "GET /xampp/img/head-for.gif HTTP/1.1" 200 791
192.168.0.51 - lampp [03/Aug/2012:14:27:31 -0300] "GET /xampp/img/head-linux.gif HTTP/1.1" 200 1002
192.168.0.51 - lampp [03/Aug/2012:14:27:31 -0300] "GET /xampp/xampp.js HTTP/1.1" 200 463
192.168.0.51 - lampp [03/Aug/2012:14:27:31 -0300] "GET /xampp/img/apachefriends.gif HTTP/1.1" 200 979
192.168.0.51 - lampp [03/Aug/2012:14:27:31 -0300] "GET /xampp/img/strichel.gif HTTP/1.1" 200 61
192.168.0.51 - - [03/Aug/2012:14:27:31 -0300] "GET /favicon.ico HTTP/1.1" 200 30894
127.0.0.1 - - [03/Aug/2012:14:39:23 -0300] "GET /index.html HTTP/1.1" 404 1097
whats wrong?...
pd: im only get that php file downloaded from localhost... not from others
but.. localhost/xampp/index.php its working fine
[fail] -> the problem is on index.php on documentRoot folder..
[correct] -> the problem is on each file *.php on DocumentRoot and subFolders..
any1 know how to fix it?.. after do "localhost/file.php" || "localhost/phpScripts/somthingOn.php"
files witch .php are downloaded from any navigator..