marty.net 1001 Postcards Love Love Love Meep Meep ZenZodiac DailyQuotation

YOU ARE HERE:
Mod Rewrite question

HOME

CPSHOP|

|

|

EMAIL MARTY
  marty.net message board
  « Mod Rewrite question »
Welcome, Guest. Please Login or Register.
12/15/17 at 21:42:07
Home Help Search Login Register
   marty.net message board
   About cpshop
   Customization Help
   Mod Rewrite question
(Moderator: Marty)
Pages: 1 Reply Notify of replies Send the topic Print 
   Author  Topic: Mod Rewrite question  (Read 653 times)
flobaby
Silver Dragon
***

Posts: 46



Go Scots!
   

WWW
Mod Rewrite question
« on: 05/29/06 at 14:10:54 »
Reply with quote Modify message

I've using mod-rewrite, so instead of www.site.com/cgi-bin/cpshop/cpshop.cgi, my links are www.site.com/products/.  What I need to do now is make the generated cpshop links reflect the mod-rewrite rather then the original script path. Where do I make this change?
« Last Edit: 05/29/06 at 14:11:51 by flobaby » Logged
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: Mod Rewrite question
« Reply #1 on: 06/04/06 at 17:03:41 »
Reply with quote Modify message

Interestingly, there isn't an option for that.  Funny -- I'd have thought someone would have requested something like that by now.

The easiest way to accomplish that with the current script is to use the cpshop.cgi.images file to do a replace.

Something to the effect of:

*||||/cgi-bin/store/cpshop.cgi||||/products/

Logged

--
Regards,
Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
flobaby
Silver Dragon
***

Posts: 46



Go Scots!
   

WWW
Re: Mod Rewrite question
« Reply #2 on: 06/05/06 at 11:32:17 »
Reply with quote Modify message

Yay, that helped. That images file is the bomb!!  However, I'm stuck on getting rid of the storeid.xxx.

I can make an alias for bringing up the url, but every link after that has it appended.  Is there a way to get rid of it?  I would really like to change the StoreID name because it's not optimal.

« Last Edit: 06/05/06 at 11:55:24 by flobaby » Logged
Pages: 1 Reply Notify of replies Send the topic Print 
Jump to:


marty.net message board (http://www.marty.net/cgi/marty/board/messageboard)

Powered by YaBB 1 Gold - Release (Yet Another Bulletin Board)
Copyright © 2000-2001, X-Null. All Rights Reserved.