Google Answers Logo
View Question
 
Q: URL Masking for osCommerce ( Answered 5 out of 5 stars,   5 Comments )
Question  
Subject: URL Masking for osCommerce
Category: Computers
Asked by: author20-ga
List Price: $2.00
Posted: 28 Jan 2004 15:55 PST
Expires: 27 Feb 2004 15:55 PST
Question ID: 301249
What is the best way to mask a URL within osCommerce? What about how
to mask any URL in a Linux/Apache environment, where target pages are
.html or .php or whatever???

I could have domainnameonly.com or a random ficticious URL generated
on the fly or from a list of ficticious URLs.  I just need to protect
the actual URL so it can't be seen in the address box.

Request for Question Clarification by hailstorm-ga on 28 Jan 2004 17:11 PST
author20,

While I'm not familiar with osCommerce, couldn't you just use
javascript to launch a new window where the address bar is not
displayed, like this:

http://javascript.internet.com/forms/open-window.html

Clarification of Question by author20-ga on 28 Jan 2004 18:47 PST
I appreciate this, I'm testing now and I think this might fit the ticket.

By the way, do you do javascript?

Garry

Clarification of Question by author20-ga on 29 Jan 2004 00:55 PST
This works ! Thanks, I thank you and will pay the fee for a good answer.
Answer  
Subject: Re: URL Masking for osCommerce
Answered By: hailstorm-ga on 29 Jan 2004 03:41 PST
Rated:5 out of 5 stars
 
author20,

As explained above, the easiest way to mask a URL from the average
user is to pop up a new browser window using Javascript with your
desired settings.

The procedure for doing this and creating the Javascript for your page
can be found here:

http://javascript.internet.com/forms/open-window.html

Sources cited:
--------------
The Javascript Source
http://javascript.internet.com/
author20-ga rated this answer:5 out of 5 stars and gave an additional tip of: $2.00
This expert answered my question, suggesting an excellent javascript
solution. Boy, it works.  And so small and powerful. But most
important -- he was fast. For google answers, fast is important.
Highest rating.

Comments  
Subject: Re: URL Masking for osCommerce
From: hailstorm-ga on 29 Jan 2004 03:45 PST
 
By the way, I'm not an expert on Javascript, but I'm aware of it's
capabilities, and using the resources on the Internet I'm usually able
to get it to do the things I need.  The Webmonkey Javascript Tutorial
is one of my favorites, and I highly recommend it if you are
interested in learning more about the capabilities of Javascript:

http://hotwired.lycos.com/webmonkey/javascript/tutorials/tutorial1.html
Subject: Re: URL Masking for osCommerce
From: primo-ga on 29 Jan 2004 17:37 PST
 
Hi,
With popup blockers, your solution might not work (ex: google toolbar)
etc. So, if this page is critical, beware of this issue.
Thanks
Subject: Re: URL Masking for osCommerce
From: asksac-ga on 31 Jan 2004 11:25 PST
 
Another popular way to mask URLs is by using frames. This will work
even if the browser has popup busters. Sometimes this technique is
referred to as the "cloaking device".

e.g. 
http://www.thegreetings.com/interface/howto.html
http://forums.devshed.com/archive/15/2001/4/2/13363
Subject: Re: URL Masking for osCommerce
From: author20-ga on 26 Jun 2004 16:46 PDT
 
I finally developed a highly secure pay-per-view version of osCommerce
with the following:

Anti-robot security (picture password)
Standard password security
Transaction security (merchant can require pre-paid access to content)
IP tracking and IP security (user configurable)
URL masking - hides content server domain, IP, filenames, server location, etc.
Compatible with all digital rights management frameworks
Compatible with authentication systems (such as Passport)

it is designed for the following types of sites:

Record Label / MP3 Site Independent Film Producer Streaming Video Site 
Live Event Broadcaster Research Report Site Publisher (ebooks, etc.),
Game Server Site Software Download Site Concert, Movie, Theater
Tickets, Membership & Dating Sites, Political Meet-up, Political Fund
raising sites, Stock Photos Online Enterprise Portal.

I am making this software available without license charge for
selected non-profits.  If somebody is looking for osc pay-per-view, my
company's site will be launched soon.  I don't think I can post links
to my site here, but certain keywords will most likely find my site.
Subject: Re: URL Masking for osCommerce
From: chrisw1234-ga on 11 Mar 2005 20:46 PST
 
If you are using an Apache web server, you can use "rewrite" in
.htaccess to modify your URL's to anything you want.  See my
osCommerce website:

http://www.imagecritique.com

osC uses .php based web pages, but notice how my web pages (index.php
and product_info.php in particular) are descriptive .html URLs
instead!  They are created using a contribution to osC that you can
find on their website at:

http://www.oscommerce.com

In general you would add this to your .htaccess file along with the
contribution code:

Options +FollowSymLinks
RewriteEngine On 
RewriteBase /
RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy