Login shows /login.php not found
Hello,
i want to use piler 1.1.1 on a freshly installed debian jessie linux with apache 2.4.10
My browser shows the login page. After I enter e.g. "admin@local:pilerrocks" it shows me a "not found" page with the message "the requested URL /login.php was not found on this server".
I checked the .htaccess file - there is one in /var/www/piler/
What do i have to edit to get this going? I'm a complete newbie to Apache so please explain in detail: in which file do i have to enter what?
Many thanks.
Comments (7)
-
repo owner -
repo owner - changed status to wontfix
-
reporter Thank you for your answer. The article enlightend and confused me. I have read an piler installation guide which told me to enable the rewrite module with the command "a2enmod rewrite". If i do that again the system tells me "Module rewrite already enabled".
But the command "ls -al /etc/apache2/mods-enabled/rewrite.load " shows me something different:
-rw-r--r-- 1 root root 66 Okt 24 10:37 /etc/apache2/mods-available/rewrite.load
And i don't have a file /etc/apache2/sites-available/default. I have a file /etc/apache2/sites-available/000-default.conf. But in this file there is no "AllowOverride"-Statement. To "cp /etc/apache2/sites-available/000-default.conf /etc/apache2/sites-available/default" doesn't help.
-
reporter Thanks to your advice I searched Google for the rewrite module in general. I found a tip to add the directory to 000-default.conf. So I added
<Directory /var/www/piler> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory>
and it works. Now I can login.
-
reporter - changed status to resolved
-
repo owner I'm glad that you made it.
-
reporter - changed status to closed
- Log in to comment
Enable the rewrite module, see http://xmodulo.com/how-to-enable-mod_rewrite-in-apache2-on-debian-ubuntu.html for details.