Installation failure on Debian Jessie

On a clean install of Debian Jessie (fully updated), I ran this script:

#!/bin/bash

NAME='microweber'
MYSQLROOTPWD='solydxk'

sudo addgroup www-data
sudo useradd -gwww-data www-data
sudo apt install mysql-server mysql-client apache2 php5 php5-mysql libapache2-mod-php5 phpmyadmin unzip
sudo a2enmod userdir
sudo a2enmod rewrite
wget https://microweber.org/download.php -O microweber.zip
sudo unzip microweber.zip -d /var/www/html/
sudo mv /var/www/html/microweber* /var/www/html/$NAME
sudo chgrp -R www-data /var/www/html/$NAME
sudo chmod 755 /var/www/html/$NAME/storage/logs
sudo service apache2 restart
mysqladmin -uroot -p$MYSQLROOTPWD create $NAME
mysql -uroot -p$MYSQLROOTPWD -e "GRANT ALL PRIVILEGES ON $NAME.* TO $NAME@'localhost' IDENTIFIED BY '$NAME'"

firefox http://localhost/$NAME


Unfortunately, after filling in the installation form, I always end up with this message:

The requested URL /microweber/admin/ was not found on this server.

I can confirm that /var/www/html/microweber/admin does not exist.
The database has been populated with tables.
I confirmed that all needed php modules were loaded.

What am I missing here?
Peter Ivanov 6 years ago

Hi Arjen,


This is because you must set "AllowOverride All" in your httpd.conf


<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
</Directory>

You must be logged in to reply on this thread


Sign Up
Arjen Balfoort