| | |
vbulletin vbgallery mod_rewrite
![]() |
•
•
Join Date: Aug 2004
Posts: 12
Reputation:
Solved Threads: 0
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:
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
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
•
•
Join Date: Aug 2004
Posts: 12
Reputation:
Solved Threads: 0
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
•
•
Join Date: Aug 2004
Posts: 12
Reputation:
Solved Threads: 0
acutally i think that I am getting somewhere:
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
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
![]() |
Similar Threads
- vBulletin mod_rewrite (PHP)
- vBulletin mod_rewrite in phpBB mod format (Existing Scripts)
- Forum archive (Search Engine Optimization)
Other Threads in the Linux Servers and Apache Forum
- Previous Thread: domain name reg question
- Next Thread: CGI error 405 problem
| Thread Tools | Search this Thread |
.net apache apple asus bbc bluegene centos cisco citrix cloud cloudcomputing datacenters debian dell desktops development distributions distros drivers economy eeepc energy enterprise fedora gadgets gentoo gos government gpl hardware hp hyper-v ibm java jobs kindle knoppix kvm laptop laptops lawsuits licensing limo linustorvalds linux linuxfoundation linuxmagazine magazines microserver microsoft mobile mobilephones netbook netbooks news novell olpc open openmoko openoffice opensolaris opensource opensuse openvz operatingsystems os patents pc pcworld plathome politics print qumranet redhat rhel robot russia sco server servers slackware software solaris source sun supercomputer support tivo torvalds training tv ubuntu umpc unix virtualization vmware windows x86 xandros xen





