+1 Wordpress must be installed on the desired path, if you are moving from previous scheme like site/wordpress to wordpress, you have a problem. Refer to wordpress manual and you find how to fix. The best bet is like Todd said: Deploy again.
2017-06-10 20:56 GMT-03:00 Todd <norr...@gmail.com>: > What is in your httpd error log? > My guess is that WP is trying to pull some content from /wordpress which no > longer exists since you moved the docroot. > > My suggestion for having your WP site available without going to the > /wordpress URL is to redeploy the WordPress files to /var/www/html instead > of /var/www/html/wordpress. > Or add a 301 redirect from / to /wordpress > > On Sat, Jun 10, 2017 at 2:32 PM, Jan Betlach <jbetl...@gmail.com> wrote: > > > Hi guys, > > > > I have a small problem with httpd and Wordpress. > > When I go to https://myipaddress I get "Access denied". If I go to > > https://myipaddress/wordpress, everything works as expected. > > I have tried to change the appropriate line in the httpd.conf to: > > root "/htdocs/wordpress". In that case the webpage is loaded, but in the > > "broken" form. > > > > My current httpd.conf: > > > > # $OpenBSD: httpd.conf,v 1.16 2016/09/17 20:05:59 tj Exp $ > > # Macros > > ext_addr="*" > > # Global Options > > # prefork 3 > > # Servers > > # A minimal default server > > server "default" { > > listen on $ext_addr port 80 > > listen on $ext_addr tls port 443 block return 301 "https:// > > $SERVER_NAME$REQUEST_URI" > > tls { > > key "/etc/ssl/private/server.key" > > certificate "/etc/ssl/server.crt" > > } > > directory { > > no auto index, index "index.php" > > } > > location "*.php" { > > fastcgi socket "/run/php-fpm.sock" > > } > > root "/htdocs" > > } > > # Include MIME types instead of the built-in ones > > types { > > include "/usr/share/misc/mime.types" > > } > > > > > > Any ideas where I am making a mistake? > > > > Thank you > > > > Jan > > >