[opencms-dev] Mapping domain name to site in opencms

Jordan Harrison jordo at jordoman.com
Wed Sep 7 17:22:00 CEST 2005


Thanks Joe. I've set up all the config, but when I hit www.mysite.conm I get the Catalina index.html

I think the problem is in my Virtual hosts, can you see anything wrong with this?

<VirtualHost *>
    ServerName www.mysite.com
    ServerAdmin jordo at jordoman.com
    DocumentRoot /data/tomcat/webapps/ROOT/

    # Log only non-redirect requests in "normal" log file
    CustomLog /var/apache2/logs/mysite.log common

    # Multi domain configuration: All pages in "/mysite/" are to be served from domain "www.mysite.com"
    RedirectPermanent /opencms/                 http://www.mysite.com

    ProxyPass         /                         http://localhost:8081/opencms/
    ProxyPassReverse  /                         http://localhost:8081/opencms/
</VirtualHost>


Cheers for any pointers
Jordan


Joe Desbonnet said:
> Follow the same instructions as "Running multiple sites on OpenCms". It
> assumes you will be using Apache for the front end.
>
> Joe.
>
>
> On 9/7/05, Jordan Harrison <jordo at jordoman.com> wrote:
>>
>> Hi,
>>
>> I have set up a few different websites running on OpenCMS. How do I get
>> OpenCMS to forward requests to the requested
>> site?
>>
>> ie. how can I get...
>>
>> www.mywebsite.com <http://www.mywebsite.com>
>>
>> ...to forward to...
>>
>> http://www.mywebsite.com/opencms/opencms/sites/mysite/index.html
>>
>> Surely there must be a config in OpenCMS that maps the two? Any help much
>> appreicated.
>>
>> (obviously I have my domain names pointing to my server, but currently it
>> takes me to the catalina index.jsp)
>>
>> Cheers
>> Jordan
>>
>>
>>
>> _______________________________________________
>> This mail is send to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> http://mail.opencms.org/mailman/listinfo/opencms-dev
>>
>


-- 





More information about the opencms-dev mailing list