Board Logo

Error when using Apache-RewriteRule for URL
dandelion - 6/17/2009 at 04:49 PM

Hello !
This is strange:
I have no problems using hint-boxes when I use a "normal" URL, say: 'www.test.com/show.php?article=57'.

I am using Apache RewriteRules (search engine friendly), so the
actual URL shown in the browser is: 'www.test.com/testarticle/57.html'

When I use this URL, the same content is being displayed, but I get a Javascript-Error: 'myHint' is null or not an object.

Even though the content is absolutely the same (I compared source code), it does not work with the search-friendly URL.

Does someone know what's the problem ?!
Thank you very much !!

Dandelion.


dandelion - 6/17/2009 at 09:07 PM

well, after hours of testing, I found it out by myself:

This does NOT work with a RewriteRule URL:
<script language="JavaScript" src="tigra_hints.js"></script>

This is working:
<script language="JavaScript" src="../js/tigra_hints.js"></script>



Dandelion.


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/