You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by BJ Freeman <bj...@free-man.net> on 2008/07/14 18:49:06 UTC

Re: Site Redirect|

apologize.. can't do it from DNS
This is more questions that should be ask in the apache http forums.

you can try
<META HTTP-EQUIV="Refresh" Content="0;
URL=http://server.domain:<port>/ecommerce/">

or
# Use Apache module (mod_rewrite)

    File: httpd.conf

    RewriteEngine On
    RewriteRule /.* http://www.new-domain.com/ [R]

    Forwards all references in entire domain.


BJ Freeman sent the following on 7/14/2008 9:29 AM:
> why not do this in the your DNS?
> 
> Robert Volke sent the following on 7/14/2008 9:20 AM:
>> Hi,
>>
>> I'm trying to redirect the url for my ecommerce application.  So what I need to make happend is when somebody types in www.sitename.com it should redirect to http://server.domain:<port>/ecommerce .   
>> I'm trying to look at Apache HTTP redirect but is there an easier way?
>>
>> Thanks
>>
>>
>>
>>
> 
> 
> 
>