The MU forums have moved to

.htacces problem (1 post)

  1. umair
    Posted 17 years ago #

    i had asked earlier as wel about the problem of no permission. then i tried to comment my .htaccess file and all worked fine. but i know that this commenting is ot the solution.

    here is my .htaccess file. pls guide me how to change it. my virtual host is "wp"

    RewriteEngine On
    RewriteBase /

    # Rewrite to
    RewriteCond %{HTTP_HOST} ^wp\.(.*)
    RewriteRule ^(.*) http://%1/$1 [R,L]

    #uploaded files
    RewriteRule ^(.*)?/?files/(.*) wp-content/blogs.php?file=$2 [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]

    pls help out !!!

About this Topic

  • Started 17 years ago by umair