The MU forums have moved to WordPress.org

another newbie query on a 403 error locally (2 posts)

  1. manuwrex
    Member
    Posted 15 years ago #

    ok my webserver is used locally for testing and learning purposes...

    now when i key the server ip on my 2nd pc it brings up the It Works default page (Apache2), but when i visit a subfolder which has wordpress-mu installed in i get a 403 forbidden error...

    here's the .htaccess file on the wordpress mu folder:
    [code]
    RewriteEngine On
    RewriteBase /proj/manuscorner.co.cc/

    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteCond %{REQUEST_URI} ^.*/wp-admin$
    RewriteRule ^(.+)$ $1/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>
    [/code]

  2. SteveAtty
    Member
    Posted 15 years ago #

    That rewritebase looks very wrong.

About this Topic

  • Started 15 years ago by manuwrex
  • Latest reply from SteveAtty