-
-
Notifications
You must be signed in to change notification settings - Fork 756
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
Apache reload error #1950
Comments
Right purging apache2 and reinstalling fixed that issue and it now reloads fine. However, the virtual host still doesn't work for me. When it says "Assuming you install wallabag in the /var/www/wallabag folder" since I wasn't prompted at any point during the install I assumed that the git folder is also the install folder. Therefore, I created a symbolic link /var/www/wallabag to the git folder. That though doesn't seem to be right, including when uncommenting the lines from the suggest virtual host layout to follow symbolic links - does wallabag install somewhere else that I need to link to or am I doing something else wrong? |
The provided virtual host file is just an example, you need to adapt it to your configuration. Please head over at https://gitter.im/wallabag/wallabag for support. |
Right so after after switching back to lighttpd I can get the site to sort of work. Going to the IP address (with directory listing enabled) shows the directory but clicking app.php loads wallabag. So with directory listing disabled just need to append app.php at the end of the URL and it works. Will keep exploring config options to see if I can get it to work normally, I am guessing some additional rewrite rule is needed. Edit: Damn, it seems to work OK testing connection on Android app but get Error loading feed : request unsuccessful; respond code: 404, respsone message: Not found when trying to refresh my poche. lighttpd.conf is: server.modules = ( server.document-root = "/var/www/wallabag/web" index-file.names = ( "index.php", "index.html", "index.lighttpd.html") compress.cache-dir = "/var/cache/lighttpd/compress/" include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port dir-listing.activate = "disable" |
OK getting closer to a solution. I now have it working normally on the web without needing to add app.php. Change index-file.names to: index-file.names = ( "app.php", "index.php", "index.html", "index.lighttpd.html") And add rewrite: url.rewrite-if-not-file = ( However, the Android app still hates the URL for some reason. Test login works fine but still get 404 on refreshing poche. |
Is that OK for the web app? If yes, you can close this issue. About Android application, you can open a new issue here: https://github.com/wallabag/android-app |
Actually it might still be a web app error. Just went through all the pages and they all work except for config - which gives 404 error, |
And as soon as I wrote that I saw the remaining issue: "^/(mw-)?config/?" => "$0", Can be removed - it was left over from an example file I was editing from. After changing that both web and android work. |
Reopening in order not to forget to add the lighttp config file to the documentation. |
Can be close in favor of #1931 |
Just run into an error when trying to host wallabag through apache. After setting up the virtual host and running sudo service apache2 reload I get the following:
Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details.
systemctl status apache2.service returns:
apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Active: active (exited) (Result: exit-code) since Tue 2016-04-19 12:44:36 BST; 4min 6s ago
Process: 16000 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
Process: 16456 ExecReload=/etc/init.d/apache2 reload (code=exited, status=1/FAILURE)
Process: 16010 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)
and journalctl -xn:
No journal files were found.
Error.log is empty however.
The text was updated successfully, but these errors were encountered: