#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Ventura, CA USA
    Posts
    2
    Rep 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
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    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...teguide/#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/
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Ventura, CA USA
    Posts
    2
    Rep 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...teguide/#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]

  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    Boston, MA, USA
    Posts
    3
    Rep 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/

IMN logo majestic logo threadwatch logo seochat tools logo