[opencms-dev] Using Apache with OC
Arash Kaffamanesh
arash.kaffamanesh at pomegranate.de
Thu Feb 28 03:38:16 CET 2008
JK ist still alive ;) mod_jk will die in future:
http://tomcat.apache.org/connectors-doc/
With Tomcat 6 and Apache 2.2 u can use Apache Portable Runtime library
for better load balancing directly at the JSP/ Servlet engine.
By the way I think opencms.org and alkacon.com are using apache 2.2 ;)
With Tomcat 5.x and Apache 2.0 the most powerful setup is the mod_jk
version with OpenSSL support, which is highly recommended!
Cheers!
Marc Schlegel schrieb:
> Thanks for the link...but this one uses mod_jk and because mod_proxy
> seems to be the official recommendation from alkacon I would like to use
> that. By the way: is mod_jk still under active development?
>
> -- Marc
>
> Arash Kaffamanesh schrieb:
>
>> Hi Marc,
>>
>> this works for me:
>>
>> http://www.pomegranate.de:9000/cms/forum/viewthread?thread=93#207
>>
>> Best,
>> Arash
>>
>> Marc Schlegel schrieb:
>>
>>
>>> Ok, I found out that when using
>>>
>>> ProxyPass /resources/ http://127.0.0.1:8080/opencms/
>>> ProxyPass /export/ http://127.0.0.1:8080/opencms/
>>>
>>> I can at least read css-files, but still no images can be loaded and
>>> when entering the backend I get an "forbidden" inside of the explorer.
>>> Was anyone able to set up this configuration according to the documentation?
>>>
>>> Marc Schlegel schrieb:
>>>
>>>
>>>
>>>> Hello List
>>>>
>>>> I've read the HOWTO for Apache- and Multisite-configuration and the only
>>>> differences I made was the domainname and tomcatpath. Anyway, no
>>>> resources are loaded. When I open /system/login I get the login-page
>>>> without images and css. I am having two sites and two domains...one for
>>>> the backend and one for the website i am creating.
>>>>
>>>> This is my site-config
>>>> <sites>
>>>> <workplace-server>http://opencms.fun-alliance.de</workplace-server>
>>>> <default-uri>/sites/default/</default-uri>
>>>> <site server="http://opencms.fun-alliance.de"
>>>> uri="/sites/default/" >
>>>> <!--<secure server="https://opencms.fun-alliance.de" />-->
>>>> </site>
>>>> <site server="http://www.fun-alliance.de"
>>>> uri="/sites/fun-alliance/"/>
>>>> </sites>
>>>>
>>>> Here's my vhosts
>>>> <VirtualHost *:80>
>>>> <Directory "C:/www/Tomcat6/webapps/ROOT/">
>>>> Order allow,deny
>>>> Allow from all
>>>> </Directory>
>>>> ServerName opencms.fun-alliance.de
>>>> ServerAdmin marc.schlegel at gmx.de
>>>> DocumentRoot "C:/www/Tomcat6/webapps/ROOT/"
>>>> ErrorLog logs/error.log
>>>>
>>>> # Log only non-redirect requests in "normal" log file
>>>> SetEnvIf Request_URI "\/opencms\/*" redirect
>>>> CustomLog logs/localhost-access.log common env=!redirect
>>>>
>>>> ProxyPass /opencms/ !
>>>> RedirectPermanent /opencms/
>>>> http://opencms.fun-alliance.de/
>>>>
>>>> ProxyPass /resources/ !
>>>> ProxyPass /export/ !
>>>>
>>>> ProxyPass /
>>>> http://127.0.0.1:8080/opencms/
>>>> ProxyPassReverse /
>>>> http://127.0.0.1:8080/opencms/
>>>> </VirtualHost>
>>>>
>>>> <VirtualHost *:80>
>>>> <Directory "C:/www/Tomcat6/webapps/ROOT/">
>>>> Order allow,deny
>>>> Allow from all
>>>> </Directory>
>>>> ServerName www.fun-alliance.de
>>>> ServerAdmin marc.schlegel at gmx.de
>>>> DocumentRoot "C:/www/Tomcat6/webapps/ROOT/"
>>>> ErrorLog logs/error.log
>>>>
>>>>
>>>> # Log only non-redirect requests in "normal" log file
>>>> SetEnvIf Request_URI "\/opencms\/*" redirect
>>>> CustomLog logs/siteA-access.log common env=!redirect
>>>>
>>>>
>>>> # Multi domain configuration: All pages in "/siteA/" are to be
>>>> served from domain "www.siteA.com"
>>>> ProxyPass /opencms/ !
>>>> RedirectPermanent /opencms/
>>>> http://www.fun-alliance.de
>>>>
>>>>
>>>>
>>>> ProxyPass /resources/ !
>>>> ProxyPass /export/ !
>>>>
>>>> ProxyPass /
>>>> http://127.0.0.1:8081/opencms/
>>>> ProxyPassReverse /
>>>> http://127.0.0.1:8081/opencms/
>>>> </VirtualHost>
>>>>
>>>> Does the ! mean that this folder are forbidden? I tried to set (for
>>>> example) http://127.0.0.1:8081/opencms/resources/ but this didn't help
>>>> as well.
>>>>
>>>> I can't find a mistake in my configuration (according to the HOWTO).
>>>> Maybe someone can help me out here.
>>>>
>>>> Thanks in advance
>>>> -- Marc
>>>>
>>>> _______________________________________________
>>>> This mail is sent to you from the opencms-dev mailing list
>>>> To change your list options, or to unsubscribe from the list, please visit
>>>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>>>
>>>>
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> This mail is sent to you from the opencms-dev mailing list
>>> To change your list options, or to unsubscribe from the list, please visit
>>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>>
>>>
>>>
>>>
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/mailman/listinfo/opencms-dev
>>
>>
>>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
More information about the opencms-dev
mailing list