New wordpress keep redirecting to localhost/wp-admin/install.php
IN my fresh wordpress install via docker.
Everytime i hit localhost
it gets redirected to http://localhost/wp-admin/install.php
Now its missing the wp
, the url should be http://localhost/wp/wp-admin/install.php
My Env variable is like this
WP_ENV=development
WP_HOME=http://localhost/wp
WP_SITEURL=${WP_HOME}/wp
my apache vhost file is
VirtualHost *:80
ServerName http://localhost
DocumentRoot ${APACHE_DOCUMENT_ROOT}
Directory ${APACHE_DOCUMENT_ROOT}
AllowOverride all
/Directory
CustomLog /var/log/apache2/local-access.log combined
ErrorLog /var/log/apache2/local-error.log
/VirtualHost