Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 for any page #18

Open
SergoUnix opened this issue Oct 29, 2018 · 4 comments
Open

500 for any page #18

SergoUnix opened this issue Oct 29, 2018 · 4 comments

Comments

@SergoUnix
Copy link

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 [email protected]
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
Copy link

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
Copy link

semx commented Jul 4, 2021

no have solution i just use bash script

@Navi2016
Copy link

Navi2016 commented Jul 7, 2021

Try setting RewriteBase to /

@marlonschmitz
Copy link

marlonschmitz commented Jul 7, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants