sprintcube / docker-compose-lamp

A basic LAMP stack environment built using Docker Compose.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG]

teolando opened this issue · comments

I'm trying to make a .htaccess RewriteRule and the AllowOverride is always "none" and a get error "Internal error server"

"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Apache/2.4.38 (Debian) Server at localhost Port 80"

Mysql Version is 5.7, PHP 7.4

Do we have a quick fix for this?

When i change the apache2.conf and restart doesn't work.

My .htaccess rule:

"RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [NC, L]"

Sincerely Theo