Setup path not found
MrDrMcCoy opened this issue · 4 comments
MrDrMcCoy commented
Expected Behavior
Navigating to base URL will produce setup page per readme.
Actual Behavior
404 error: Not Found
The requested URL /setup was not found on this server.
Steps to Reproduce
- Install Ubuntu 14.04 with the following packages:
- apache2 php5 php5-mysql php5-sqlite php5-curl php5-gd php5-imagick mariadb-server mariadb-client libapache2-mod-php5 git
- git clone readerself into /var/www
- Symlink readerself to /var/www/html
- Recursively change ownership of /var/www to www-data:www-data
- Set hostname, IP, DNS entries
- Create database 'readerself'
- Set database info in config to use root mysql credentials
- Navigate to http://readerself/
stephanediondev commented
Hi
Did you enable mod rewrite with Apache ?
(command: a2enmod rewrite)
MrDrMcCoy commented
Apparently, I had forgotten that step. However, I am still having the same problem after enabling rewrite.
Steps taken
- a2enmod rewrite
- service apache2 restart
- deleted and recreated DB
- deleted and re-downloaded readerself with git
- added DB config to readerself
- removed symlink and renamed readerself directory to html, in case apache doesn't want to follow symlinks
- received same 404 error in browser
Are there any additional changes that need to be made in Apache to get this to work well?
stephanediondev commented
It's necessary to have "Allowoverride All" in your VirtualHost configuration to use .htaccess file
(instead of "Allowoverride None")
<VirtualHost...>
<Directory /.../www>
Allowoverride All
...
MrDrMcCoy commented
That did it. User error. Thanks!