Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Error when using Apache-RewriteRule for URL
dandelion
Junior Member

Posts: 2
Registered: 6/17/2009
Member Is Offline
posted on 6/17/2009 at 04:49 PM Reply With Quote
Error when using Apache-RewriteRule for URL


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.
View User's Profile View All Posts By User U2U Member
dandelion
Junior Member

Posts: 2
Registered: 6/17/2009
Member Is Offline
posted on 6/17/2009 at 09:07 PM Reply With Quote

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.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
 Product Demonstrations Live Demo
Free Download Free Download
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Support Forum
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004