I have a centos server that is running httpd. I have a site at staging.example.com I then have staging.example.com/blog or staging.example.com/wiki. I am working on the blog part. That is a wordpress install. If you go to staging.example.com/blog it goes to blog/wp-admin/setup-config.php if you try to type in staging.example.com/blog/wp-admin it redirects to staging.example.com/wp-admin if you follow the link to install wordpress it goes to staging.example.com/blog/wp-admin/core/core/core/core/core/core/core/core/core/core/core/core/core/core/core/core/core/core/core/core/core/install.php
I have staging.example.com at /var/ww/html/example.com the blog is at /var/www/html/blog wiki is at /var/www/html/w
Here is my domain specific config:
NameVirtualHost staging.example.com:80
<VirtualHost *:80>
ServerName staging.example.com
ServerAlias staging.example.com
DocumentRoot /var/www/html/example.com
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{SERVER_NAME}$1 [R,L]
</VirtualHost>
NameVirtualHost staging.example.com:443
<VirtualHost *:443>
ServerName staging.example.com
ServerAlias staging.example.com
DocumentRoot /var/www/html/example.com
ErrorLog /var/log/httpd/example.com/error_log
CustomLog /var/log/httpd/example.com/requests.log combined
ProxyPreserveHost On
ProxyPass /blog http://localhost:8443
ProxyPass /wiki http://localhost:8444
# RewriteEngine On
</VirtualHost>
NameVirtualHost localhost:8443
<VirtualHost 127.0.0.1:8443>
DocumentRoot /var/www/html/blog
ErrorLog /var/log/httpd/example.com/blog/error_log
CustomLog /var/log/httpd/example.com/blog/requests.log combined
</VirtualHost>
NameVirtualHost localhost:8444
<VirtualHost 127.0.0.1:8444>
DocumentRoot /var/www/html/w
ErrorLog /var/log/httpd/example.com/wiki/error_log
CustomLog /var/log/httpd/example.com/wiki/requests.log combined
</VirtualHost>
What is causing that?