Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
July 22, 2014, 05:58:44 PM

Pages: [1]   Go Down
  Print  
Author Topic: rewrite issue on windows server? please help!  (Read 2094 times)
dali3927
Newbie
*
Offline Offline

Posts: 1


« on: October 16, 2011, 04:09:32 AM »

Hi, could anyone help, please?

my wordpress site hosted on a windows server, I use ISAPI Rewrite tool to rewrite all the urls.

I installed one wordpress in my home dir for my main site, and installed another wordpress in a sub dir. the problem is that when i visit, www.mysite.com/subdir or www.mysite.com/subdir/wp-admin, it would reture a 404 page, says this page is not found. I think it may be the problem of my rewrite rule. Below is my rewrite rule in httpd.ini file:

Quote
CacheClockRate 3600
RepeatLimit 32

RewriteRule /tag/(.*) /index\.php\?tag=$1
RewriteRule /software-files/(.*) /software-files/$1 [L]
RewriteRule /images/(.*) /images/$1 [L]
RewriteRule /sitemap.xml /sitemap.xml [L]
RewriteRule /favicon.ico /favicon.ico [L]
# For file-based wordpress content (i.e. theme), admin, etc.
RewriteRule /wp-(.*) /wp-$1 [L]
# For normal wordpress content, via index.php
RewriteRule /(.*) /index.php/$1 [L]

Could anyone know what I'm missing for this rewrite file and what I need to add to solve my problem? Thanks.
Logged
Delois
Spaceship Captain
*****
Offline Offline

Posts: 100


« Reply #1 on: January 19, 2012, 12:18:28 AM »

If you don't find any solution try to find rules for web.conffig file and see if it works. It would be easier to make modification in web.config file just like we make changes in .htaaccess file.  
« Last Edit: September 10, 2012, 10:53:26 PM by Delois » Logged
Pages: [1]   Go Up
  Print  
 
Jump to: