Moving a WP VS: Directory index forbidden by Options directive

1 post / 0 new
#1 Tue, 12/16/2014 - 21:07
marciano

Moving a WP VS: Directory index forbidden by Options directive

Hello,

I've created a Wordpress sandbox in a subdomain.
After I finished I followed WP instructions on how to move a WP site between same server directories.
Then I copied sandox public_html content to www public_html dir (backup old working non WP site).
I got an error 403 Forbidden.
Error log: Directory index forbidden by Options directive

Sandbox dir directive is:

Options -Indexes +SymLinksifOwnerMatch +ExecCGI
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
AddHandler fcgid-script .php
AddHandler fcgid-script .php5
FCGIWrapper /home/.../domains/www2....com/fcgi-bin/php5.fcgi .php
FCGIWrapper /home/.../domains/www2....com.uy/fcgi-bin/php5.fcgi .php5
AddType application/x-httpd-php .php

and www directive is:

Options -Indexes IncludesNOEXEC SymLinksifOwnerMatch +ExecCGI
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch
AddHandler fcgid-script .php
AddHandler fcgid-script .php5
FCGIWrapper /home/.../fcgi-bin/php5.fcgi .php
FCGIWrapper /home/..../fcgi-bin/php5.fcgi .php5
AddType application/x-httpd-php .php

Those are Virtualmin default settings for domain and subdomain.

.htaccess is WP's default
# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

Thanks for any help