logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: redirect web site to ubuntu machine
Author
hshelat



Joined: 08 Aug 2010
Posts: 6
Location: NJ

PostPosted: Tue 10 Aug '10 23:54    Post subject: redirect web site to ubuntu machine Reply with quote

Thank you for your reply,
I did not explain enough in my previus post. I have build windows xp machine. This machine is running OTRS ticket system. All of our users login using http://h2sydp23/otrs/customer.pl and agent can login with http://h2sydp23/otrs/index.pl.

I have also build ubuntu 9.10 machine and installed OTRS ticket system. I like redirect the http://h2sydp23/otrs/customer.pl in windows xp to Ubuntu 9.10 with http://ccbss/otrs/customer.pl.

I searched httpd.conf file and tried to change virtual host but it did not worked.

Any help will be appreaciated.

Hshelat
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7304
Location: Germany, Next to Hamburg

PostPosted: Wed 11 Aug '10 10:23    Post subject: Reply with quote

If I get it right, you don't need a redirect you are searching for a reverse proxy. So that the user sees this url http://h2sydp23/otrs/customer.pl but get the result of http://ccbss/otrs/customer.pl right?
Back to top
hshelat



Joined: 08 Aug 2010
Posts: 6
Location: NJ

PostPosted: Fri 30 Aug '13 19:12    Post subject: Reply with quote

Yes,

When users typed http://d2c3cpd/otrs/customer.pl and http://d2c3pd/otrs/index.pl they should be redirected to http://myticket/otrs/customer.pl or http://myticket/otrs/index.pl. How can I achieve this? you said I need reverse proxy.I am new to the proxy.

Thank you,

Hshelat
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7304
Location: Germany, Next to Hamburg

PostPosted: Sat 31 Aug '13 18:29    Post subject: Reply with quote

On the d2c3cpd

Code:

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so

ProxyPass /otrs/ http://myticket/otrs/
ProxyPassReverse /otrs/ http://myticket/otrs/
Back to top


Reply to topic   Topic: redirect web site to ubuntu machine View previous topic :: View next topic
Post new topic   Forum Index -> Apache