You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Pol Hallen <ap...@fuckaround.org> on 2013/10/04 20:25:49 UTC
[users@httpd] rewrite (remapping?) url
Howdy :-)
I'm not sure what's the best module for my issue...
my problem is:
I've http://domain1.org
and I'd like show another domain on the address bar (only show, so not
redirect to new one)
So, when an user try to connect to http://domain1.org, in the browser show
(i.e.) newdomain.org
is there a howto or other info?
thanks!
Pol
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] rewrite (remapping?) url
Posted by Eric Covener <co...@gmail.com>.
On Fri, Oct 4, 2013 at 3:20 PM, Pol Hallen <ap...@fuckaround.org> wrote:
>> I don't see how that relates to whether you redirect or not.
>> Are you indirectly saying that newdomain.org doesn't actually resolve
>> to an IP that reaches your server?
>
> first of all: sorry for my english :-(
>
> My server has only one IP, so domain1.org and newdomain.org has same IP.
>
> I need access to phpmyadmin using newdomain.org and not using domain1.org
But if you need to use newdomain.org, why don't you just use that in
your browser?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] rewrite (remapping?) url
Posted by Pol Hallen <ap...@fuckaround.org>.
> I don't see how that relates to whether you redirect or not.
> Are you indirectly saying that newdomain.org doesn't actually resolve
> to an IP that reaches your server?
first of all: sorry for my english :-(
My server has only one IP, so domain1.org and newdomain.org has same IP.
I need access to phpmyadmin using newdomain.org and not using domain1.org
Pol
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] rewrite (remapping?) url
Posted by Eric Covener <co...@gmail.com>.
On Fri, Oct 4, 2013 at 2:53 PM, Pol Hallen <ap...@fuckaround.org> wrote:
>> You can't do that without redirecting the user. Why not redirect them?
>
> Let's explain :-)
>
> I need to access to phpmyadmin using http://newdomain.org/phpmyadmin and
> not using http://domain1.org/phpmyadmin
>
> http://domain1.org is old real name...
>
> domain1.org is the real webserver name
>
> newdomain.org is a virtual host inside domain1.org
>
I don't see how that relates to whether you redirect or not.
Are you indirectly saying that newdomain.org doesn't actually resolve
to an IP that reaches your server?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] rewrite (remapping?) url
Posted by Pol Hallen <ap...@fuckaround.org>.
> You can't do that without redirecting the user. Why not redirect them?
Let's explain :-)
I need to access to phpmyadmin using http://newdomain.org/phpmyadmin and
not using http://domain1.org/phpmyadmin
http://domain1.org is old real name...
domain1.org is the real webserver name
newdomain.org is a virtual host inside domain1.org
thanks for help! :-)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] rewrite (remapping?) url
Posted by Eric Covener <co...@gmail.com>.
> and I'd like show another domain on the address bar (only show, so not
> redirect to new one)
>
> So, when an user try to connect to http://domain1.org, in the browser show
> (i.e.) newdomain.org
>
> is there a howto or other info?
You can't do that without redirecting the user. Why not redirect them?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] rewrite (remapping?) url
Posted by Yehuda Katz <ye...@ymkatz.net>.
I think you are looking for a reverse proxy using mod_proxy(_http):
http://httpd.apache.org/docs/current/mod/mod_proxy.html
On Fri, Oct 4, 2013 at 2:25 PM, Pol Hallen <ap...@fuckaround.org> wrote:
> Howdy :-)
>
> I'm not sure what's the best module for my issue...
>
> my problem is:
>
> I've http://domain1.org
>
> and I'd like show another domain on the address bar (only show, so not
> redirect to new one)
>
> So, when an user try to connect to http://domain1.org, in the browser show
> (i.e.) newdomain.org
>
> is there a howto or other info?
>
> thanks!
>
> Pol
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>