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
http://httpd.apache.org/docs/current/howto/access.html is a good start.



On Mon, Feb 10, 2014 at 12:58 PM, varun <varun.bhuvanend...@gmail.com>wrote:

>  Is it possible to redirect a request for one port to another one.
> Say a request like *http://domain_name:3030 <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 <http://domain_name:3000>*. And a
> direct request like *http://domain_name:3000 <http://domain_name:3000>*
> should be restricted.
> Is there any modules, directive in apache. I am new to apache. On Ubuntu
> 12.04.
>

Reply via email to