Closed trappedinspacetime closed 10 years ago
hi @kensully, do you mean you want to see the content of the php file in your browser (i.e. the code), or do you want to see rendered php output in your browser?
Hi; No, I don't want to see content of php file (not codes) in static web server. I want it open php files. A php file that is not in my localhost is downloading itself. I wonder if it's a design issue in ws
it's because, by default, connect serves .php
files with a Content-type
of application/octet-stream
- the browser assumes a file with this MIME type should be saved.. i'm working on a solution to allow this to be overridden.
local-web-server only serves static files, it does not dynamically render PHP scripts..
Hi,
First of all thank you for making such a handy project. I was looking for such a static local web server, it works well. But it keeps downloading .php file as if it's not in server root. I am on Ubuntu 14.04 platform. What should I do to let server open .php files in browser?
Regards
Kenn