Topic: mod_rewrite and html frames Pages that link to <a href="https://ozoneasylum.com/backlink?for=28146" title="Pages that link to Topic: mod_rewrite and html frames" rel="nofollow" >Topic: mod_rewrite and html frames\

 
Author Thread
butcher
Paranoid (IV) Inmate

From: New Jersey, USA
Insane since: Oct 2000

IP logged posted posted 06-30-2006 20:04 Edit Quote

I'm having a problem getting something accomplished. I have vBulletin forums on one subdomain that I need to pull into the bottom frame of a frameset on another subdomain. Before anybody asks... I've asked my sysadmin if we can put the forums on the same subdomain and was told no.

Now, I've had no problem pulling the forums into the frame, but my problems start if someone trys to follow a link to a particular thread from something like an email notification of a post or something of the sort. I've tried doing a mod_rewrite rule on the server that the forums are on but I can't seem to get that correct either. I need to catch everything after the domian and pass it as a querystring to the frame that the forum is in. Here's the last incarnation of what didn't work:



I'm also aware that this method might not be the best way to accomplish this and I'm open to suggestions.

Thanks to anyone making sense of my rant.

- Butcher -

(Edited by butcher on 06-30-2006 21:47)

butcher
Paranoid (IV) Inmate

From: New Jersey, USA
Insane since: Oct 2000

IP logged posted posted 06-30-2006 21:14 Edit Quote

Okay, I've almost gotten the redirect part done. I'm using this code in an htaccess file on the server the forums are on.



The only problem is I'm not getting all of what I expect for the query string. My test URL for redirect looks like this:

code:
http://thissub.site.com/showthread.php?t=1&goto=newpost


All I'm getting after the redirect is the showthread.php part. Nothing after the ? is coming along with it.

Anybody have any ideas why or any solutions that would work better?

Thanks

- Butcher -

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

IP logged posted posted 07-01-2006 13:25 Edit Quote

read up on your doc - you get the real query string in a variable.
It's called ${QUERY_STRING} or some such.

butcher
Paranoid (IV) Inmate

From: New Jersey, USA
Insane since: Oct 2000

IP logged posted posted 07-01-2006 18:02 Edit Quote

Thanks for giving me something to google on TP. I've been to the Apache Mod_rewrite docs but they aren't the easiest things to read.

- Butcher -



Post Reply
 
Your User Name:
Your Password:
Login Options: Remember Me On This Computer
 
Your Text:
Loading...
Options: Show Signature
Enable Slimies
Enable Linkwords

« BackwardsOnwards »

Show Forum Drop Down Menu