404 Not Found - Slim\Exception\HttpNotFoundException
See original GitHub issueHello, I am making a plugin for the home automation system. I’m looking to install grocy from the plugin. Grocy can be found in the 3rdparty directory. Installed from https://releases.grocy.info/latest.
I want have this url:
here is the apache configuration:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog /var/www/html/log/http.error
Alias /grocy /var/www/html/plugins/grocy/3rdparty/grocy/public
<Directory /var/www/html/plugins/grocy/3rdparty/grocy/public>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ProxyPass /grocy/ http://localhost/plugins/grocy/3rdparty/grocy/public/
ProxyPassReverse /grocy/ http://localhost/plugins/grocy/3rdparty/grocy/public/
</VirtualHost>
If i check the documentroot with php since index file, i have:
/var/www/html
my data/config.php
Setting('BASE_PATH', '/var/www/html/plugins/grocy/3rdparty/grocy/');
Setting('BASE_URL', '/grocy');
Setting('DISABLE_URL_REWRITING', true);
Have you got any idea ?
Thanks
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
PHP Slim\Exception\HttpNotFoundException 404 Not Found ...
What is the address you entered in the address bar that resulted in a 404 error? · I'm using PHPStorm, after saving the...
Read more >Slim 4 - HttpNotFoundException
Hey, I still get Not found error on Slim version 4. ... Details Type: Slim\Exception\HttpNotFoundException Code: 404 Message: Not found.
Read more >404 after installation: Slim\Exception\HttpNotFoundException
While trying to set up grocy an my server I get the following message: 404 Not Found The application could not run because...
Read more >Setting HTTP status code based on Exception in Slim 4
Ideally we want the status code to be 404. Option 1: Use an HttpException. The simplest solution is to use one of Slim's...
Read more >Php – Slim\Exception\HttpNotFoundException - iTecNote
Slim Application Error: The application could not run because of the following error: Error Details Type: Slim\Exception\HttpNotFoundException Code: 404 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think the subbredit is the better place to ask for setup problems and most probably your reach more who could help there…
The general problem about subdirectory installations is now resolved (in fact there was never an issue, it was just unclear how to configure everything properly).
See for Apache: https://github.com/grocy/grocy/issues/694#issue-592850273
See for nginx: https://github.com/grocy/grocy/issues/694#issuecomment-609079721
For specific setups / shared hosting environments / etc., please better ask this on the subbredit if there are still problems.