Strange rewrite behavior
3 posts
• Page 1 of 1
Strange rewrite behavior
I have been using ISAPI Rewrite 3.0 (licensed version) for quite some time for multiple WP sites (all upgraded to 3.3.1) on my Win 2003 server with IIS 6. Recently had some security problems and changed the permissions on my directories which resulted in the images no longer being displayed. The sites work fine. Unfortunately, what's even stranger is that this behavior is only on 1 of my sites. I have changed none of my rewrite rules.
Here are my rules:
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index/.php$ - [L]
# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?blogN/files/(.+) wp-content/blogs.dir/N/files/$2 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [NC,L]
# END WordPress
Site: http://blog.jasonthibeault.com
The fact that my rewrite rules are working for one site and not another is driving me absolutely nuts. I thought it was folder permission based but I'm not sure if that's the case. I have given my IUSER everything from basic read permissions to full access to the wp-content/blogs.dir folders with no luck.
I'm hoping this is a simple "oh, you just have to do this" solution. I have deleted the .htaccess file and re-built it (by re-entering and applying the rules in the rewrite manager) but, again, no luck.
Thanks for any help you can provide. Have been a very happy customer of the product.
Best,
Jason
Here are my rules:
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index/.php$ - [L]
# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?blogN/files/(.+) wp-content/blogs.dir/N/files/$2 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [NC,L]
# END WordPress
Site: http://blog.jasonthibeault.com
The fact that my rewrite rules are working for one site and not another is driving me absolutely nuts. I thought it was folder permission based but I'm not sure if that's the case. I have given my IUSER everything from basic read permissions to full access to the wp-content/blogs.dir folders with no luck.
I'm hoping this is a simple "oh, you just have to do this" solution. I have deleted the .htaccess file and re-built it (by re-entering and applying the rules in the rewrite manager) but, again, no luck.
Thanks for any help you can provide. Have been a very happy customer of the product.
Best,
Jason
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: Strange rewrite behavior
Hello,
I did go to your blog.
Couldn't find any issues with pictures, except for couple 404 dead pages and misplaced sharing buttons. But nothing wrong with pics.
Usually, when tightening permissions, what you need is to provide list folder content permissions for the user that runs site's pool. You can follow this documentation
Regards
Andrew
I did go to your blog.
Couldn't find any issues with pictures, except for couple 404 dead pages and misplaced sharing buttons. But nothing wrong with pics.
Usually, when tightening permissions, what you need is to provide list folder content permissions for the user that runs site's pool. You can follow this documentation
Regards
Andrew
Re: Strange rewrite behavior
Thanks for replying. Actually, I just copied the entire blog from one directory to another and everything fixed itself. It's the simplest solutions that often work. Love your software, though. Has been working steadily for me for years! You can close this ticket.
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 15 guests