Closed aksansai closed 2 years ago
Github inserted the screenshot in the middle of the diagnostics log.
This looks mostly like a bad configuration of the .htaccess
. Did you have a look at https://lycheeorg.github.io/docs/#apache and https://lycheeorg.github.io/docs/faq.html#can-i-host-lychee-with-a-subpath-with-apache-like-httpsexampledevlychee (since you are serving from a subpath)? Did you use the .htaccess
file provided in the repository?
Thanks, @qwerty287 - I am using the default .htaccess file included with the repo. However, it was your clue on the apache specific configuration that I had overlooked prior. Perhaps a note in the markdown for the repo that web server specific configuration would help others.
Detailed description of the problem [REQUIRED]
After following the instructions for two different installs, I have the same error when visiting the URL where Lychee is located. The first install was using a MySQL backend - artisan migrate worked fine, but when visiting the URL, I get an ambiguous "Error: Not Found" error message at the top of the page. Thinking I might have goofed, I re-cloned the repo, followed the instructions but left SQLite as the database - this resulted in the same error message. Upon checking Apache's logs, I see as follows:
There is nothing in the Apache error log.
A hint as to the cause maybe the fact that I cannot access the Diagnostics page via /Diagnostics. Instead, I must explicitly specify /index.php/Diagnostics. I have not altered the .htaccess file that has the rewrite rules from the repo.
Steps to reproduce the issue
Steps to reproduce the behavior:
Screenshots Screenshot is attached.
Output of the diagnostics [REQUIRED]
Browser and system
Client system:
Server system: