Skip to content

www/index.php #578

@g105b

Description

@g105b

The public web root is /path/to/app/www, and the router script is /path/to/app/vendor/phpgt/webengine/go.php. There needs to be a default go.php index.php added within the www directory that just requires the vendor script, as some web servers don't allow loading of router scripts outside the web directory.

Apache has always had this problem, but now I've come to use Nginx Unit and the same issue is there too.

nginx unit "script is not under php root"

This shouldn't be the responsibility of the developer to fix - let's do it for them!

Metadata

Metadata

Assignees

Labels

enhancementNon-breaking improvements to existing behaviourmaintenanceCodebase upkeep, dependency bumps, versioning chores

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions