943,746 Members | Top Members by Rank

Oct 24th, 2005
0

vbulletin vbgallery mod_rewrite

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
msimonds is offline Offline
12 posts
since Aug 2004
Oct 24th, 2005
0

Re: vbulletin vbgallery mod_rewrite

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
msimonds is offline Offline
12 posts
since Aug 2004
Oct 24th, 2005
0

Re: vbulletin vbgallery mod_rewrite

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
msimonds is offline Offline
12 posts
since Aug 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Servers and Apache Forum Timeline: domain name reg question
Next Thread in Linux Servers and Apache Forum Timeline: CGI error 405 problem





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC