Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Redirect question

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Service Check: smtp restarted on server.servernam..  
Author Message
nomail15

External


Since: Feb 18, 2004
Posts: 2



(Msg. 1) Posted: Wed Feb 18, 2004 8:14 pm
Post subject: Redirect question
Archived from groups: alt>apache>configuration (more info?)

Hello group.

I am trying the following:

I have a server running Apache on port 80, and another application,
listening to port 81.
I want all urls to be handled by apache, but have the request for the
directory 'config' to be redirected to the other application.

So:
http://myserver.mydomain.com/index.html
and
http://myserver.mydomain.com/AllOtherSubDirs/

are for Apache, but

http://myserver.mydomain.com/config/* is for the other application.

A I dont want that the clients to speak to port 81, users do not have to
know that they are redirected.

Any hints appreciated.

Gr, Hans

 >> Stay informed about: Redirect question 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Thu Feb 19, 2004 12:56 pm
Post subject: Re: Redirect question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hans <nomail RemoveThis @nodomain.invalid> wrote:
 > <a style='text-decoration: underline;' href="http://myserver.mydomain.com/config/" target="_blank">http://myserver.mydomain.com/config/</a>* is for the other application.

Use mod_proxy:

ProxyRequest Off
ProxyPass /config/ http://....:81/
ProxyPassReverse /config/ http://....:81/

Davide

--
| Fresco's Discovery: If you knew what you were doing you'd probably be
| bored.
|
|<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Redirect question 
Back to top
Login to vote
nomail15

External


Since: Feb 18, 2004
Posts: 2



(Msg. 3) Posted: Thu Feb 19, 2004 4:24 pm
Post subject: Re: Redirect question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Davide Bianchi" <davideyeahsure.DeleteThis@onlyforfun.net> wrote in message
news:c1217r$1an9o4$1@ID-18487.news.uni-berlin.de...
 > Hans <nomail.DeleteThis@nodomain.invalid> wrote:
  > > <a style='text-decoration: underline;' href="http://myserver.mydomain.com/config/" target="_blank">http://myserver.mydomain.com/config/</a>* is for the other application.
 >
 > Use mod_proxy:
 >
 > ProxyRequest Off
<font color=purple> > ProxyPass /config/ <a style='text-decoration: underline;' href="http://....:81/</font" target="_blank">http://....:81/</font</a>>
<font color=purple> > ProxyPassReverse /config/ <a style='text-decoration: underline;' href="http://....:81/</font" target="_blank">http://....:81/</font</a>>
 >
 > Davide
 >

Thanks, it works!

Gr, Hans<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Redirect question 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Redirect Question - Hi, I'm running a php-nuke site at lets say "domain.com". For some reason, php-nuke doesn't like people browsing the site as "www.domain.com". So what I need to do is whenever someone tries to access "http://www.domain.com&quo...

Redirect setup question. - I've been doing some research on the best way to do this and so far I've found the best information here so before I make a chance to our web server I thought I'd run it by you before I do it just to make sure I've understood what you've been saying. ..

Generic redirect question. - Redirect for specific E*.html pages to a cgi script (passing * values to it). Anyone? Thanks in advance.

redirect.pl - help - Greetings, I have apache 1.3 installed on FreeBSD 4.7. I'm trying to find a redirect.pl for my cgi-bin (need it for a web page). where is this located ? Or, where can I get it ? thanks, -D

redirect - Hi , I have apache in my win2000 for server web with +/- 60 sites. I must set config for this : All people that connect to my fixed ip to external must redirect to dir : /public/ Only the local pc can navigate inside all server dir ??? Thks
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]