-
Notifications
You must be signed in to change notification settings - Fork 327
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
Rest API in Docker #996
Comments
Thanks for the report, we will look at it |
There is a fix in #997 for the PHP Fatal error Regarding the vhost configuration, the Alias seem present but the location is disabled by default. How did you change the configuration? |
Hello, I simply added the following configuration: Alias /rest/ /var/www/rest/ In the file /etc/apache2/sites-enabled/000-default.conf |
Issue with language detection is fixed. Enabling REST services by default in docker image does not seems a good idea. REST endpoints should be protected at least by a basic auth. |
I am using the Docker version tag 1.7, and the Apache server is missing a configuration:
Alias /rest /var/www/rest
After manually adding the Alias, another issue appears in an include:
PHP Fatal error: Uncaught Error: Failed opening required '../../lib/detectbrowserlanguage.php' (include_path='.:/usr/local/lib/php') in /var/www/rest/v1/include.php:24\nStack trace:\n#0 /var/www/rest/v1/checkpassword.php(2): require_once()\n#1 {main}\n thrown in /var/www/rest/v1/include.php on line 24
The text was updated successfully, but these errors were encountered: