rafaelgou / php-apache2-basic-auth-manager

PHP Apache2 Basic Auth Manager
Other
31 stars 13 forks source link

500 for any page #18

Open SergoUnix opened 5 years ago

SergoUnix commented 5 years ago

Hello! Im install you app in http server (apache2 ) but i any page get me 500 error PS PLZ CHECK YOU INSTRUCTION BECAUSE ITS PIZDEC!

config web.conf (apache)

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

<VirtualHost *:8035> ServerAdmin support@admin.lc DocumentRoot "/var/www/authmanager/web" ServerName auth.site.com

htachess

<Files .htpasswd> deny from all

Options -MultiViews RewriteEngine On RewriteBase /src/App RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [QSA,L] ---------------------------------------------------- #config.yaml # Base URL baseUrl: http://172.22.7.14:8035 # Path to Apache2 files htpasswd: '/var/www/.secure/auth/.htpasswd' htgroups: '/var/www/.secure/auth/.htgroup' # Debug debug: false
marlonschmitz commented 3 years ago

Hi HaveHi! Did you manage to solve your issue? I was having something like that but it had to do with selinux and paths. I moved file from './web/*' to '../' so I have to edit 'index.php' to reflect the new paths. I'm having an issue with 'twig' now. Every time I try to edit a user or a group I get 'HTTP ERRO 404', looks like 'Rewrite Rule' is missing....

semx commented 3 years ago

no have solution i just use bash script

Navi2016 commented 3 years ago

Try setting RewriteBase to /

marlonschmitz commented 3 years ago

I will it! Thanks!

*Schmitz, Marlon Régis*

https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Livre de vírus. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail. <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Em qua., 7 de jul. de 2021 às 08:44, Navi2016 @.***> escreveu:

Try setting RewriteBase to /

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rafaelgou/php-apache2-basic-auth-manager/issues/18#issuecomment-875535018, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUW3U2VMVYPNKRCHNPSXTJ3TWQ42DANCNFSM4F73JEQQ .