Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 31st, 2000, 05:59 PM
Robert Johnson Robert Johnson is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Ventura, CA USA
Posts: 2 Robert Johnson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Can anyone tell me how to set up a "blind or alias" url. Example: I have a web site that clients come to. I also want them to buy computers but the computers stuff is on another site. I don't want the client to see the other actual url but one that I make up. How can I do this?

------------------
Robert Johnson

Reply With Quote
  #2  
Old August 31st, 2000, 09:51 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
There are many ways to do it in Perl.

i.e. LWP::Simple

Since you posted this to Apache forum, I assume you want the Apache way.

Start here -> http://www.engelschall.com/pw/apache/rewriteguide/#ToC26

Here is my example should you not understand anything about it...

1) create a "test" directory as shown below: http://www.foobar.com/test

2) create an .htaccess file at http://www.foobar.com/test/.htaccess

3) put the following in your .htaccess
RewriteEngine on
RewriteBase /test/
RewriteRule ^(.*)$ http://www.perl.com/CPAN-local/modules/by-module/$1 [P]

4) then quickly go to http://www.perl.com/CPAN-local/modules/by-module/ and take a look

5) then go to your own http://www.foobar.com/test/

Reply With Quote
  #3  
Old September 1st, 2000, 10:23 AM
Robert Johnson Robert Johnson is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Ventura, CA USA
Posts: 2 Robert Johnson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thank you. I put it here in Apache because I couldn't think where else to post it.

Regards,


<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by freebsd:
There are many ways to do it in Perl.

i.e. LWP::Simple

Since you posted this to Apache forum, I assume you want the Apache way.

Start here -> http://www.engelschall.com/pw/apache/rewriteguide/#ToC26

Here is my example should you not understand anything about it...

1) create a "test" directory as shown below: http://www.foobar.com/test

2) create an .htaccess file at http://www.foobar.com/test/.htaccess

3) put the following in your .htaccess
RewriteEngine on
RewriteBase /test/
RewriteRule ^(.*)$ http://www.perl.com/CPAN-local/modules/by-module/$1 [P]

4) then quickly go to http://www.perl.com/CPAN-local/modules/by-module/ and take a look

5) then go to your own http://www.foobar.com/test/
[/quote]


Reply With Quote
  #4  
Old September 14th, 2000, 10:05 AM
dlc dlc is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Location: Boston, MA, USA
Posts: 3 dlc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Use ProxyPass and ProxyPassReverse, part of mod_proxy (no Perl required).

Use something like:

ProxyPass /store/ https://store.otherdomain.com/

ProxyPassReverse https://store.otherdomain.com/ /store/

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > How to set up a "blind or alias" url

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap