Topic: ISAPI Rewrite was working, now not workin
|

|
| Author |
|
garyoc Newbie

Joined: 11 September 2008
Online Status: Offline Posts: 5
|
| Posted: 07 October 2008 at 4:29pm | IP Logged
|
|
|
We had ISAPI Rewrite 3 working fine. Then we asked our host to update our PHP install so we could use some SOAP functionality for a different programming requirement. Now our rewrites no longer work. I don't know if there is a connection between the two events but its the best I can put my finger on.
The original idea was to have the site's old pages point to the newly overhauled site's corresponding new pages. It was working fine but not now. They are all PHP pages and what we get instead is a No Input File Specified being echoed on the page.
The error log shows this (note no entries since Oct 3. The PHP upgrade took place then)
[10/3/2008 14:43:42] ISAPI Filter loaded. Version 3.1.0.56. Windows 5.2 (Build 3790 ServicePack:0) ProductType SERVER. CPU type INTEL NumberOfProcessors 1. [10/3/2008 14:44:35] ISAPI Filter loaded. Version 3.1.0.56. Windows 5.2 (Build 3790 ServicePack:0) ProductType SERVER. CPU type INTEL NumberOfProcessors 1. [10/3/2008 14:53:48] ISAPI Filter loaded. Version 3.1.0.56. Windows 5.2 (Build 3790 ServicePack:0) ProductType SERVER. CPU type INTEL NumberOfProcessors 1. [10/3/2008 14:53:49] ISAPI Filter loaded. Version 3.1.0.56. Windows 5.2 (Build 3790 ServicePack:0) ProductType SERVER. CPU type INTEL NumberOfProcessors 1. [10/3/2008 15:05:27] ISAPI Filter loaded. Version 3.1.0.56. Windows 5.2 (Build 3790 ServicePack:0) ProductType SERVER. CPU type INTEL NumberOfProcessors 1.
Here are the first few lines of our .htaccess file containing the rewrite rules:
# Helicon ISAPI_Rewrite configuration file # Version 3.1.0.56
#[ISAPI_Rewrite] RewriteEngine On RewriteCond Host: (.*)
RewriteRule sample1.htm machines.php RewriteRule /pages/(.*)/(.*).html$ machines.php?category=$1&article=$2
RewriteRule about_abrasive.php$ http://beta.omax.com/omax.php?previousurl=about_abrasive.php RewriteRule about_abrasive_adv_omax.php$ /omax.php?previousurl=about_abrasive_adv_omax.php RewriteRule about_abrasive_advantages.php$ /omax.php?previousurl=about_abrasive_advantages.php RewriteRule about_abrasive_popular.php$ /omax.php?previousurl=about_abrasive_popular.php
None of the above are working now.
I've also checked system permissions and the system has full permissions to manipulate the ISAPI dll files.
Would appreciate any enlightenment you can provide.
thanks
|
| Back to Top |
|
| |
Vyacheslav Moderator Group

Joined: 02 July 2008 Location: Ukraine
Online Status: Offline Posts: 673
|
| Posted: 08 October 2008 at 3:22am | IP Logged
|
|
|
Hi,
Please try this:
Code:
RewriteEngine On
RewriteRule ^/sample1\.htm$ /machines.php [NC,L]
RewriteRule ^/pages/([^/]+)/([^/]+)\.html$ /machines.php?category=$1&article=$2 [NC,L]
RewriteRule ^/about_abrasive\.php$ http://beta.omax.com/omax.php?previousurl=about_abrasive.php [NC,L]
RewriteRule ^/about_abrasive_adv_omax\.php$ /omax.php?previousurl=about_abrasive_adv_omax.php [NC,L]
RewriteRule ^/about_abrasive_advantages\.php$ /omax.php?previousurl=about_abrasive_advantages.php [NC,L]
RewriteRule ^/about_abrasive_popular\.php$ /omax.php?previousurl=about_abrasive_popular.php [NC,L]
|
|
|
Also, if the issue still present, please provide your rewrite.log file.
__________________ Kind regards!
Vyacheslav Shinkarenko, HeliconTech.
|
| Back to Top |
|
| |
garyoc Newbie

Joined: 11 September 2008
Online Status: Offline Posts: 5
|
| Posted: 08 October 2008 at 7:09am | IP Logged
|
|
|
FIXED!
It was a server config problem. Host fixed the problem and we're good again! Thank you!
Edited by garyoc - 08 October 2008 at 1:46pm
|
| Back to Top |
|
| |
Vyacheslav Moderator Group

Joined: 02 July 2008 Location: Ukraine
Online Status: Offline Posts: 673
|
| Posted: 08 October 2008 at 7:15am | IP Logged
|
|
|
To get records from rewrite.log and error.log, please write this code to your httpd.conf:
Code:
RewriteLogLevel 9
LogLevel debug
|
|
|
__________________ Kind regards!
Vyacheslav Shinkarenko, HeliconTech.
|
| Back to Top |
|
| |
garyoc Newbie

Joined: 11 September 2008
Online Status: Offline Posts: 5
|
| Posted: 08 October 2008 at 8:28am | IP Logged
|
|
|
Placed code in httpd.conf. Tried a few URLs. Same results as far as no input file specified. Nothing getting recorded to the error.log or rewrite.log. Here is how our httpd.conf file looks:
# Helicon ISAPI_Rewrite configuration file # Version 3.1.0.56 RewriteEngine on
RewriteLogLevel 9 LogLevel debug
|
| Back to Top |
|
| |
|
|
If you wish to post a reply to this topic you must first login
If you are not already registered you must first register
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You can vote in polls in this forum
|