[PLUG] Web site

Marvin Kosmal mkosmal at gmail.com
Thu Apr 7 03:35:02 UTC 2011


On 4/6/11, Rich Shepard <rshepard at appl-ecosys.com> wrote:
> On Wed, 6 Apr 2011, Marvin Kosmal wrote:
>
>> Just discovered a problem with my web site..
>> If I enter  www.website.info   I get the correct stuff <not the real name>
>> If I enter website.info  I get another one of my sites not the right one.
>
> Marvin,
>
>    Looks to me like you need an .htaccess file in your document root to
> re-write the latter address to the former address.
>
>    In my case I did this:
>
> RedirectMatch permanent ^http://appl-ecosys\.com
> ^http://www.appl-ecosys.com/$
>
>    Woiks.
>
> Rich
>



Rich

I added this..

Put it in both

/var/www/



More information about the PLUG mailing list