PHP built in server wrong path and no files [message #1869138] |
Fri, 02 August 2024 06:42  |
Eclipse User |
|
|
|
CURRENT SETUP Software Windows 10 XAMPP (Apache, PHPMyadmin, Fillezilla, openssl etc.) Eclipse Version: 2024-03 (4.31.0) PHP Version 8.2.12 XDEBUG 3.3.2
project path: G:xampp\htdocs\api\project php built in server path: https://localhost project path settings: project base path: api/project https://localhost/api/project
server xml: <?xml version="1.0" encoding="UTF-8"?>
<Server>
<Port name="HTTP/1.1" protocol="HTTP">8429</Port>
<PathMapping local="https://localhost/api/project" module="project" remote="G:\xampp\htdocs\api\project"/></Server>
Run as - Run on server does not work. It has a wrong path (without /api/ part) and even when correcting the path there are no files found.
run as - run on server gives: browser: Not Found The requested resource /project/login.php was not found on this server. console:
[Fri Aug 2 11:19:18 2024] 127.0.0.1:64548 Accepted [Fri Aug 2 11:19:18 2024] 127.0.0.1:64548 [404]: GET /project/login.php - No such file or directory [Fri Aug 2 11:19:18 2024] 127.0.0.1:64548 Closing
browser: localhost:8429 - not found localhost:8429/api/project - not found terminal: ping localhost:8429 -not found
run as - CLI application works
run as - web application works
How to fix this?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02925 seconds