Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Panel] Support for built-in PHP server #43

Closed
bastianallgeier opened this issue Oct 31, 2017 · 3 comments
Closed

[Panel] Support for built-in PHP server #43

bastianallgeier opened this issue Oct 31, 2017 · 3 comments
Labels
type: bug 🐛 Is a bug; fixes a bug
Milestone

Comments

@bastianallgeier
Copy link
Member

The current version of the Panel is not working when running the starterkit with the built in PHP server.

@distantnative distantnative added this to the Alpha 2 milestone Nov 17, 2017
@distantnative distantnative modified the milestones: Alpha 2, Alpha Feb 20, 2018
@bastianallgeier
Copy link
Member Author

That is almost solved, except the annoying file routing issue in the PHP server. I wonder if we need to ship a router.php with it, like @fabianmichael does for the website. But I somehow would love to not do it.

@fabianmichael
Copy link
Contributor

It seems that you need a custom router as soon as you want to serve …

  • Any path with a dot in its filename that does not point to an existing file (I fixed the server’s default behavior of filling some $_SERVER variables with wrong values/omitting them as soon as the requested filename contains a dot. This is also necessary for using the content representations feature.)
  • A file where PHP’s server does not know the correct mime type for given file type/extension. In this case, you have to set them manually from router.php.

@distantnative distantnative added type: bug 🐛 Is a bug; fixes a bug and removed type: bug labels Feb 25, 2018
@distantnative distantnative changed the title Panel: Support for built-in PHP server [Panel] Support for built-in PHP server Feb 25, 2018
@bastianallgeier bastianallgeier modified the milestones: Alpha 6, Beta 1 Mar 23, 2018
@distantnative distantnative modified the milestones: Beta 1, Beta 2 Apr 7, 2018
@distantnative distantnative modified the milestones: Alpha 11, Beta 1 Jun 20, 2018
@bastianallgeier
Copy link
Member Author

distantnative pushed a commit that referenced this issue Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Is a bug; fixes a bug
Projects
None yet
Development

No branches or pull requests

3 participants