dnmk
New Member
- Joined
- Jan 9, 2017
- Messages
- 14
- Reaction score
- 1
Hi there.
So basically I've had Gesior ACC installed and it was working fine but i wanted to switch to MyAAC, so i simply deleted all the files i /var/www/html and then dragged myAAC files there. I am in developing process so the Gesior was just fresh after install without any changes.
Then I set the permissions for the whole folder, went on to adress/install, everything went smooth from start to finish, but the site is not working with HTTP Error 500.
The Admin Panel works, same with phpMyAdmin.
Working on Ubuntu 20.04 LTS
Also here is my default file as i possibly made a mistake here:
Any ideas on how to fix it?
Thank you in advance <3
So basically I've had Gesior ACC installed and it was working fine but i wanted to switch to MyAAC, so i simply deleted all the files i /var/www/html and then dragged myAAC files there. I am in developing process so the Gesior was just fresh after install without any changes.
Then I set the permissions for the whole folder, went on to adress/install, everything went smooth from start to finish, but the site is not working with HTTP Error 500.
The Admin Panel works, same with phpMyAdmin.
Working on Ubuntu 20.04 LTS
Also here is my default file as i possibly made a mistake here:
PHP:
server {
listen 80;
root /var/www/html;
index index.php;
server_name your-domain.com;
# increase max file upload
client_max_body_size 10M;
location / {
try_files $uri $uri/ /index.php;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_read_timeout 240;
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
# for ubuntu 22.04+ it will be php8.1-sock
}
location ~ /\.ht {
deny all;
}
location /system {
deny all;
return 404;
}
}
Any ideas on how to fix it?
Thank you in advance <3
Last edited: