Re: [users@httpd] port redirecting mapping

2014-02-13 Thread Thomas Eckert
I'm confused as to what your setup and intention is. From your original message I assumed you were talking about a normal server but your configuration example looks like a reverse proxy. Also, I assumed you wanted requests to http://domain_name:3030/ to be redirected but then you said *all*

Re: [users@httpd] port redirecting mapping

2014-02-13 Thread Varun Bhuvanendran
Thomas This was what i am looking for. Thnaks thomas. what i was trying to do is, allow access to *http://domain_name http://domain_name *, if a request like *http://domain_name:3030 http://domain_name:3030 *comes it should be redirected/mapped to another link. From the above help i could

Re: [users@httpd] port redirecting mapping

2014-02-13 Thread Thomas Eckert
The problem with your vhost is that it responds to requests on port 80 and if a request hits your server on port 3030 that vhost is simply not used. That's what *VirtualHost *:80* does. Can't help you with the Rewrite stuff, I've kept my distance from it so far. You would need someone else to look

Re: [users@httpd] port redirecting mapping

2014-02-13 Thread Varun Bhuvanendran
It was so helpful. Thanks thomas On Feb 13, 2014 6:44 PM, Thomas Eckert thomas.r.w.eck...@gmail.com wrote: The problem with your vhost is that it responds to requests on port 80 and if a request hits your server on port 3030 that vhost is simply not used. That's what *VirtualHost *:80* does.

[users@httpd] port redirecting mapping

2014-02-10 Thread varun
Is it possible to redirect a request for one port to another one. Say a request like *http://domain_name:3030* be accepted and redirected/mapped, so that the server should be able to process the request like*http://domain_name:3000*. And a direct request like *http://domain_name:3000* should be

Re: [users@httpd] port redirecting mapping

2014-02-10 Thread Thomas Eckert
Assuming you have a working config for a server/vhost on domain_name:3030, then how about Redirect permanent / http://domain_name:3000/ ? See http://httpd.apache.org/docs/current/mod/mod_alias.html#redirect and friends. Restricted access is a bit vague but

Re: [users@httpd] port redirecting mapping

2014-02-10 Thread varun
I am trying to redirect a link with a port number to another link. I had tried this with the intention that all requests ending with :3030/ should be mapped to http://domain_name/ *Proxy *** **Order allow,deny** **Allow from all** **/Proxy** **ProxyPass :3030/