| Author |
|
sealmode Newbie

Joined: 20 May 2010 Location: United States
Online Status: Offline Posts: 9
|
| Posted: 30 June 2010 at 2:19pm | IP Logged
|
|
|
Trying to get an installation of wordpress using ISAPI version 2.9.
I have a basic directory setup in my ftp for /example/ in it.
I also added to the index.php file in the /example/ wordpress directory this:
if ( isset( $_SERVER[ 'HTTP_X_REWRITE_URL' ] ) ) { $_SERVER[ 'REQUEST_URI' ] = $_SERVER['HTTP_X_REWRITE_URL' ]; }
I am using an httpd.ini in my root folder, is there anything specific i need to add to this file? Or should i create another file specifically for the wordpress installation folder that overrides this.
In the httpd.ini file i do have rewrites for index.php as my site like wordpress relies on this file to rewrite its url's.
Any suggestions on how to get this properly working? Am i setting this up correctly?
|
| Back to Top |
|
| |
Anton Admin Group

Joined: 30 January 2007 Location: Ukraine
Online Status: Online Posts: 10489
|
| Posted: 01 July 2010 at 4:23am | IP Logged
|
|
|
Please consider adding the above patch into index.php in Wordpress installation folder.
__________________ Regards,
Anton
|
| Back to Top |
|
| |
sealmode Newbie

Joined: 20 May 2010 Location: United States
Online Status: Offline Posts: 9
|
| Posted: 01 July 2010 at 11:12am | IP Logged
|
|
|
Adding the above patch as in installing ISAPI 3 over 2?
I'm trying to avoid manual rewrites for my blog. I'm sorry if i confused you. I do have the above script in the index.php file of the wordpress directory.
Is the above script that i have in index.php for ISAPI version 3 and not 2?
|
| Back to Top |
|
| |
Anton Admin Group

Joined: 30 January 2007 Location: Ukraine
Online Status: Online Posts: 10489
|
| Posted: 02 July 2010 at 8:07am | IP Logged
|
|
|
The above script is used for both v2 and v3.
Please show the config you are trying to use and what requests you want it to process and how.
__________________ Regards,
Anton
|
| Back to Top |
|
| |
sealmode Newbie

Joined: 20 May 2010 Location: United States
Online Status: Offline Posts: 9
|
| Posted: 07 July 2010 at 11:08am | IP Logged
|
|
|
Here are the
RewriteRule /blog/(?!(?:wp-login.php|wp-admin|xmlrpc.php))([^/]+)/ /blog/index.php\?p=$1 [I,L] RewriteRule /blog/page/(\d+)/ /blog/index.php\?paged=$1 [I,L] RewriteRule /blog/category/([^/]+)/ /blog/index.php\?cat=$1 [I,L] RewriteRule /blog/category/([^/]+)/page/(\d+)+/ /blog/index.php\?cat=$1&paged=$2[I,L] RewriteRule /blog/(\d+)/(\d+)/ /blog/index.php\?m=$1$2 [I,L] RewriteRule /blog/(\d+)/(\d+)/page/(\d+)/ /blog/index.php\?m=$1$2&paged=$3 [I,L] RewriteRule /blog/author/(.*)/ /blog/index.php\?a=$1 [I,L] RewriteRule /blog/author/(.*)/page/(\d+)/ /blog/index.php\?a=$1&paged=$2 [I,L] RewriteRule /blog/tag/([^/]+)/ /blog/index.php\?tag=$1 [I,L] RewriteRule /blog/tag/([^/]+)/page/(\d+)/ /blog/index.php\?tag=$1 [I,L]
|
| Back to Top |
|
| |
Anton Admin Group

Joined: 30 January 2007 Location: Ukraine
Online Status: Online Posts: 10489
|
| Posted: 08 July 2010 at 2:22am | IP Logged
|
|
|
Nothing extraordinary...
So does the problem persist?
If yes, i suggest we have on online meeting or RDP access will do.
Let's agreee on time/date and you'll send the meeting credentials to support@helicontech.com with reference to this forum thread.
__________________ Regards,
Anton
|
| Back to Top |
|
| |
sealmode Newbie

Joined: 20 May 2010 Location: United States
Online Status: Offline Posts: 9
|
| Posted: 08 July 2010 at 11:55am | IP Logged
|
|
|
Thanks Anton,
The rules above do seemed to have done the trick for manual rewrites. My misunderstanding was that there wouldn't need to be manual rewrites for all the different types of links on the site. Thank you for your help.
|
| Back to Top |
|
| |