Page 1 of 1

XAMPP won't run other php files other than its own index.php

PostPosted: 18. January 2014 01:04
by cladd118
I'm trying to run an php-based api utility created by my company. I had to set XAMPP to listen on port 8080 to work around the ISS port 80 issue (apache does execute). I understand the server directory is /xampp/htdocs and when I type http://localhost:8080/xampp/index.php the "XAMPP for WINDOWS" page opens and works. However XAMPP can not find any other objects to be recognized in /htdocs. Just to test this I've created a test.php (extremely simple "Hello World"), type http://localhost:8080/xampp/test.php ,and I get the below. I've even copied XAMPP's default index.php, named it index1.php, type http://localhost:8080/xampp/index1.php and still Object not found. I've opened all options in Apache's httpd.conf DocumentRoot <Directory/> setting (desperate move), no luck. Any ideas??

Object not found!

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.

Error 404
Apache/2.4.7 (Win32) OpenSSL/0.9.8y PHP/5.4.22

Re: XAMPP won't run other php files other than its own index

PostPosted: 18. January 2014 02:32
by JJ_Tagy
http://localhost is the same as your XAMPP/htdocs folder. So if you are typing localhost/xampp then you are requesting XAMPP/htdocs/xampp