php-apache2-basic-auth-manager
php-apache2-basic-auth-manager copied to clipboard
500 for any page
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 </Directory>
<VirtualHost *:8035> ServerAdmin [email protected] DocumentRoot "/var/www/authmanager/web" ServerName auth.site.com </VirtualHost>
#htachess <Files .htpasswd> deny from all </Files>
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
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....
no have solution i just use bash script
Try setting RewriteBase to /
I will it! Thanks!
*Schmitz, Marlon Régis*
-
IT Project Manager*
-
Senior Network & Telecom Administrator* PMP Number: 1563162 *PMI Member ID: *2465256 LPID LPI000143690
***@***.***
+55 51 9198 2962 Mobile
SKYPE: mrschmitz
MSN: ***@***.***
GTalk: ***@***.***
ICQ: 135952389,mrschmitz
JABBER: ***@***.***
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 .