tomsik68 / docker-xampp

Dockerfile to build an image containing XAMPP(MySQL + PHP + PHPMyAdmin) running on Debian system with SSH server
https://hub.docker.com/r/tomsik68/xampp/
MIT License
197 stars 109 forks source link

XAMPP new security concept #4

Closed tomsik68 closed 8 years ago

tomsik68 commented 8 years ago

Admin can't connect to /phpmyadmin unless httpd-xampp.conf is modified. Require all granted is required for both phpmyadmin and phpsqliteadmin.

tomsik68 commented 8 years ago

There's an issue with the file /opt/lampp/etc/extra/httpd-xampp.conf. If any1 encounters the xampp 403 error message on phpmyadmin or phpsqliteadmin, just run this command in the container: sed -i.bak s'/Require local/Require all granted/g' /opt/lampp/etc/extra/httpd-extra.conf

s-kazuki commented 8 years ago

@tomsik68 There seems to be an small error. sed -i.bak s'/Require local/Require all granted/g' /opt/lampp/etc/extra/httpd-extra.conf => sed -i.bak s'/Require local/Require all granted/g' /opt/lampp/etc/extra/httpd-xampp.conf thank you.

tomsik68 commented 8 years ago

@S-Kazuki Thanks! I couldn't figure out why it didn't work when I added it to the Dockerfile :D