PDA

View Full Version : Mod_Rewrite DONE. Anyone Interested?


greenhybrid
03-13-2005, 10:39 PM
Hello,
I've just completed Mod_Rewrite-ing vbArticles for GreenHybrid (http://www.greenhybrid.com). I'm not sure if anyone had released a hack like this, but is anyone interested in using it? You can see it in action at http://www.greenhybrid.com/learn/

My actual forums are at /discuss/, so the code actually transports everything to a new directory (if you want). The following URLs are generated and work:

http://www.greenhybrid.com/learn/category/3/
http://www.greenhybrid.com/learn/category/3-honda-accord-hybrid/
http://www.greenhybrid.com/learn/article/6/
http://www.greenhybrid.com/learn/article/6-really,-really-fast!-(honda-accord-hybrid-review)/
http://www.greenhybrid.com/learn/article/6/page2/
http://www.greenhybrid.com/learn/article/6/comments/

Deska
03-14-2005, 07:39 AM
Nice hack and nice site you have!
Can you post it here please..!

greenhybrid
03-14-2005, 01:52 PM
I don't know if I have the time to make a perfect tutorial for installation, but in a few steps I can basically convey how it can be done. I'll see about doing that soon.

RaZor Edge
03-14-2005, 10:58 PM
Interesting!! Will like to see this!

Personally, I don't really need a tutorial...

greenhybrid
03-14-2005, 11:05 PM
Alright. First, I'm going to change mine a little bit so it takes out more characters than just "/". Then, I'll add HTML extensions at the end of the URLs. My instructions will include a lot of find/replace and common sense, so if you only have one or neither at all, better find a friend :D

Oh, just think I'll add that there are 40 rewrite commands in the htaccess file. Talk about fun stuff...

cinq
03-15-2005, 12:36 PM
Will your modification ( good job btw greenhybrid :) ) require many file changes to articles.php ?
Future upgrades may be a concern if so, so you might want to document everything properly :)

greenhybrid
03-15-2005, 01:42 PM
Yes, it edits articles.php, but literally you just have to copy a little snippet and paste it 5 or so times in the document. No biggie.

havefun
03-16-2005, 02:36 AM
@greenhybrid
like your site, nice idea :)

greenhybrid
03-16-2005, 10:33 PM
Sorry it's taking so long, for those of you interested. There are some changes I'd like to make, and I likely won't have the time until next week.

hpwilhelm
03-26-2005, 07:47 AM
Sorry it's taking so long, for those of you interested. There are some changes I'd like to make, and I likely won't have the time until next week.
Awesome! Just what I'm looking for! :)

When will you have time to complete this?

A beta, "as-is" code would also be welcome.

greenhybrid
03-26-2005, 03:03 PM
Well, Spring Break is almost over and it doesn't look like I'm going to have time to make a tutorial :(

I'll see what I can do, but don't count on it.

altsounds
05-23-2005, 07:46 PM
To do with mod rewrite but in a different way. I would like to be able for users to select a "URL name" and when it is typed in after the domain name it would use MOD Rewrite to re-direct to that users profile. Anyone know anyway of doing this??

GatorCSM
05-31-2005, 08:31 PM
How is this project going? Very interested in something asap. Could you be paid to do this quicker?

Thanks

greenhybrid
05-31-2005, 08:40 PM
I actually hadn't been making a release hack for this... way too busy. If you'd like to contact me on an individual level, perhaps we can work something out.

croportal
10-20-2005, 09:24 PM
nice site green, when will be hack released

greenhybrid
10-20-2005, 09:35 PM
Sorry, this isn't something I'll be able to release. Just no time. sorry!

Picard102
11-18-2005, 04:29 PM
Anyone else know how to accomplish something like this, or what files need to be edited?