vbulletin vbgallery mod_rewrite

Reply

Join Date: Aug 2004
Posts: 12
Reputation: msimonds is an unknown quantity at this point 
Solved Threads: 0
msimonds msimonds is offline Offline
Newbie Poster

vbulletin vbgallery mod_rewrite

 
0
  #1
Oct 24th, 2005
Dani

Could you look into this if you had time, probably would not take that long for you.

For the higher level URL's to get into the gallery system, I have this in my .htaccess:

RewriteEngine On

RewriteRule ^index.html index.php [L,NC]
RewriteRule ^rantgirl([0-9]+).html$ index.php?rgom=$1 [L,NC]
RewriteRule ^rgom([0-9]+)-(.*).html$ browseimages.php?c=$1 [L,NC]

I am trying to mod_rewrite the indivudual pictures for each gallery. If i had the following URL's, how could I mod_rewrite them

http://www.sportsrant.com/gallery/sh...hp?i=1399&c=46

it is based off of the i=#### and the &c=##. the I being the picture number and the C valure being the album number.

I have donated to this site before and will do it again if you can help me out (even if You cannot figure this one out :cheesy: )

Regards,
Mike
Sportsrant.com
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 12
Reputation: msimonds is an unknown quantity at this point 
Solved Threads: 0
msimonds msimonds is offline Offline
Newbie Poster

Re: vbulletin vbgallery mod_rewrite

 
0
  #2
Oct 24th, 2005
would something like this be even close:

RewriteRule ^showimage-([1-9][0-9]*)-rgom-([1-9][0-9]*).html  showimage.php?i=$1&c=$2
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 12
Reputation: msimonds is an unknown quantity at this point 
Solved Threads: 0
msimonds msimonds is offline Offline
Newbie Poster

Re: vbulletin vbgallery mod_rewrite

 
0
  #3
Oct 24th, 2005
acutally i think that I am getting somewhere:


RewriteRule ^image([0-9]*)-rantgirl([0-9]*).html  showimage.php?i=$1&c=$2 [L,NC]

This URL works for it, i just want to make sure that I am getting somewhere

http://www.sportsrant.com/gallery/im...antgirl44.html

Dani do you see any problems with that code so far

Mike
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Linux Servers and Apache Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC