[opencms-dev] Performance problem
simone.bortolaso at libero.it
simone.bortolaso at libero.it
Fri Jan 26 09:20:43 CET 2007
Hi All.
I have deployed one opencms architecture for my customer.
His site does about 600.000 hits for mounth (15.000/17.000 a day)
Which is the best opencms architecture for increase my
performance problem?
Opencms is installed on Redhat 4.0 ES/AMD with 4 CPUs and 8.000 GB Ram. JDK 1.5_08 and Tomcat 5.5.16.
Opencms work with Apache/tomcat bridge and the follow is Apache configuration:
RewriteCond %{REQUEST_URI}
RewriteCond %{REQUEST_URI} !^/opencms/resources/.*$
RewriteCond %{REQUEST_URI} !^/export/.*$
RewriteRule !^/opencms/opencms/(.*)$ /opencms/opencms%{REQUEST_URI} [PT]
# These are the settings for static export. If the requested resource is not already
# statically exported create a new request to the opencms404 handler. This has to be
# a new request, because the current would net get through mod_jk because of the "no-jk" var.
RewriteCond %{REQUEST_URI} ^/export/.*$
RewriteCond "%{DOCUMENT_ROOT}%{REQUEST_FILENAME}" !-f
RewriteCond "%{DOCUMENT_ROOT}%{REQUEST_FILENAME}/index_export.html" !-f
RewriteRule .* /opencms/opencms/handle404?exporturi=%{REQUEST_URI}&%{QUERY_STRING} [P]
# If the request starts with /${WEBAPP_NAME}/resources, delete the /${WEBAPP_NAME} prefix
RewriteCond %{REQUEST_URI} ^/opencms/resources/.*$
RewriteRule ^/opencms/(.*)$ /$1
JkMount /* ocms
Thank.
Simone
------------------------------------------------------
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada26gen07
More information about the opencms-dev
mailing list