-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Wordpress image #215
Comments
This issue could be due to the configuration of the
Apache2 will actually not read the Could be related to #158 (is closed but with the latest worpress image the issue does not seem to be fixed) |
That is in the $ cat /etc/apache2/conf-enabled/docker-php.conf
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>
DirectoryIndex disabled
DirectoryIndex index.php index.html
<Directory /var/www/>
Options -Indexes
AllowOverride All
</Directory> |
Were your permalinks setup properly? In my experience, a given WordPress install is very picky about where it was initially installed, and isn't a fan of being moved (see https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Method_II_.28With_URL_change.29 for some tips/docs around that). |
@Douglasdc3 @yosifkit Yeah, I can confirm that
so values in apache2.conf should be indeed overriden. |
Sorry for the delay. Do you have a simple way to reproduce the issue? I haven't seen any issues in the usage of this container with You'll probably also have more luck getting timely responses from the Docker Community Forums, the Docker Community Slack, or Stack Overflow (since this is an issue tracker, not a support forum, and we typically have a high volume of filed issues to try to keep up with). |
Closing since there doesn't seem to be anything actionable we can fix here -- as noted above, please try the forums, etc if there's additional information available which could help other folks debug (or at least reproduce) the issue. |
I installed an official WP docker container. Container running in front of nginx instance.
Here is the .htaccess file that I inject to container:
Nginx just proxies /wp to appropriate path. The problem is the following:
https://example.com/wp/
andhttps://example.com/wp/hello-post/
work fine. But once I try to get an access tohttps://example.com/wp/wp-admin/
it redirects me all the time tohttps://example.com/wp-admin/
i.e. ignoreswp
subfolder.. I tried to use .htaccess which comes by default - exactly same story.The full description is here
The text was updated successfully, but these errors were encountered: