This forum has been moved here:
Helicon Tech Community Forum

Helicon Ape (Forum Locked Forum Locked)
 Helicon Tech : Helicon Ape
Subject Topic: RewriteRule /(.*) Question
Author
Message |
balance
Newbie


Joined: 17 December 2010
Posts: 11
Posted: 11 April 2011 at 10:53am

Hi all,

Have a very simple request:

http://www.myDomain.net/jdoe should send the request to
http://www.myDomain.net/index.cfm?ID=jdoe

I have this:
RewriteRule /(.*) /index.cfm?ID=%1 [L]

but I always get a 404 on my site. Running Ape 3.0.0.60

What could be the problem?

TIA


Edited by balance - 11 April 2011 at 10:54am
Back to Top
 
Vyacheslav
Admin Group


Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 12 April 2011 at 3:04am

Hello.
Please try the following code:

Code:
RewriteEngine on
RewriteBase /
RewriteRule ^(.+)$ /index.cfm?ID=$1 [L]


Note, “RewriteEngine on” is required to enable URL rewriting. Matched regex groups have $N pattern in RewriteRule and %N pattern in RewriteCond directives.

__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top Visit Vyacheslav's Homepage
 
balance
Newbie


Joined: 17 December 2010
Posts: 11
Posted: 12 April 2011 at 10:23am

Hi Slavik,

I tried your suggestion and now I'm getting this error:

HTTP Error 503. The service is unavailable

I even disabled Helicon Ape and still get the same error. Please help!
Back to Top
 
Vyacheslav
Admin Group


Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 13 April 2011 at 3:27am

Hello.
Perhaps ColdFusion breaks Ape’s work. Please use the following article to configure ColdFusion: http://www.helicontech.com/articles/adjusting-coldfusionisapi_rewrite-collaboration/

Note, the article gives not the exact code, but an example. You should put real paths to ColdFusion DLLs accordingly.

__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top Visit Vyacheslav's Homepage
 
balance
Newbie


Joined: 17 December 2010
Posts: 11
Posted: 13 April 2011 at 9:56am

Tried that and it still doesn't work.
Any other thoughts? My site was working fine until I enabled Helicon Ape.
Back to Top
 
Vyacheslav
Admin Group


Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 14 April 2011 at 5:54am

Hello.
Please follow the instructions provided here: http://www.helicontech.com/articles/zip-and-save-option-in-ape-manager/
You’ll have ZIP-archive with relevant data. Please send it to [email protected]

Thank you.

__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top Visit Vyacheslav's Homepage
 
balance
Newbie


Joined: 17 December 2010
Posts: 11
Posted: 14 April 2011 at 1:38pm

Hi Slavik,

I have followed those instructions and an email has been sent with the zip file. Looking forward to a fix.

Thanks!
Back to Top
 
balance
Newbie


Joined: 17 December 2010
Posts: 11
Posted: 14 April 2011 at 2:41pm

Slavik,

I just received a response back from your mail server saying the file was too large:

The message you are sending is too large.  All messages must be less than 27.00 MBytes.

If you have questions related to this or any other Google Group, visit the Help Center at http://www.google.com/support/a/helicontech.com/bin/static.py?hl=en_US&page=groups.cs.

Thanks,

helicontech.com admins
Any other ideas to troubleshoot this further?

Thank you
Back to Top
 
Vyacheslav
Admin Group


Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 15 April 2011 at 4:59am

Hello.
Is it possible for you to upload the file somewhere? Once you have it uploaded, please let us know where we can download the file.
Thank you.

__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top Visit Vyacheslav's Homepage
 
balance
Newbie


Joined: 17 December 2010
Posts: 11
Posted: 20 April 2011 at 10:07am

After I recycled the app pool it started working again, in case anyone runs
into this in the future.
Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version