<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Manoj,<br>
<br>
I'm not seeing a proxyname="<somehost>" directive in your
server.xml that corresponds to your workplace/site server.<br>
<br>
from my server.xml:<br>
<br>
<Connector port="8085" maxHttpHeaderSize="8192"<br>
proxyName="intranet.mynotebook.de"<br>
maxThreads="150" <br>
enableLookups="false" redirectPort="8443"
acceptCount="100"<br>
connectionTimeout="20000" disableUploadTimeout="true"
/><br>
<br>
(the maxThreads directive - not sure - may be obsolete though with
newer tomcats - this is Tomcat 6.0.32)<br>
<br>
Your opencms-system.xml seems to be not all that wrong if I didn't
overlook anything, at least it has a line <site>
</site><br>
<br>
Virtualhost section from httpd.conf:<br>
<VirtualHost *:80><br>
ServerName me.mynotebook.de<br>
ServerAlias intranet.mynotebook.de<br>
DocumentRoot "C:/Programme/Apache_Group/Tomcat
6.0.32/webapps/ROOT/"<br>
<Directory /><br>
Options FollowSymLinks<br>
AllowOverride None<br>
</Directory><br>
<br>
<br>
# Possible values include: debug, info, notice, warn,
error, crit,<br>
# alert, emerg.<br>
LogLevel warn<br>
<br>
ServerSignature Off<br>
<br>
<br>
SetEnvIf Request_URI "\/opencms\/*" redirect<br>
<br>
# Redirect all request to non-existing file in the export
directory<br>
# to OpenCms which will generate the files "on the fly"<br>
RewriteEngine on<br>
<br>
# Redirection for static export<br>
RewriteCond %{REQUEST_URI} ^/export/(.*) [NC]<br>
RewriteCond
"%{DOCUMENT_ROOT}%{REQUEST_FILENAME}" !-f<br>
RewriteCond
"%{DOCUMENT_ROOT}%{REQUEST_FILENAME}/index_export.html" !-f<br>
RewriteRule .*
<a class="moz-txt-link-freetext" href="http://127.0.0.1:8085/opencms/handle404?exporturi=%">http://127.0.0.1:8085/opencms/handle404?exporturi=%</a>{REQUEST_URI}&%{QUERY_STRING}
[P]<br>
<br>
# Redirect all 404 errors to OpenCms<br>
# ErrorDocument 404
/system/shared/handle404.html<br>
<br>
# Basic proxy rules<br>
ProxyPreserveHost On<br>
RedirectPermanent /opencms/ <a class="moz-txt-link-freetext" href="http://me.mynotebook.de/">http://me.mynotebook.de/</a><br>
ProxyPass /opencms/ !<br>
<br>
ProxyPass /resources/ !<br>
ProxyPass /export/ !<br>
ProxyPass /skins/ !<br>
ProxyPass /syscp/ !<br>
ProxyPass /manager/ !<br>
<br>
ProxyPass /
<a class="moz-txt-link-freetext" href="http://127.0.0.1:8085/opencms/">http://127.0.0.1:8085/opencms/</a><br>
ProxyPassReverse /
<a class="moz-txt-link-freetext" href="http://127.0.0.1:8085/opencms/">http://127.0.0.1:8085/opencms/</a><br>
</VirtualHost><br>
<br>
<br>
<br>
Am 05.11.2014 um 14:09 schrieb <a class="moz-txt-link-abbreviated" href="mailto:Manoj.Sharma@nevagroup.com">Manoj.Sharma@nevagroup.com</a>:<br>
</div>
<blockquote
cite="mid:OF1234EEEB.428CCF36-ON86257D85.00190EF3-65257D87.0047E4D2@nevagroup.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<font face="sans-serif" size="2">Hi All,</font>
<br>
<font face="sans-serif" size="2">
I have a website which in develop in OponCms 9.x, i have
configure that
website on apache as front server and tomcat as backend. the
website working
perfectly but the issue is when i perform redirect operation on
site like
when user submit feedback and then i redirect user to another
thank you
page or logout from site then website URL will get modified as
IP address
and (:) colon removed from the URL and website no longer
available. I'll
get the the message in browser "The web page is not available."
Example : </font>
<br>
<br>
<font face="sans-serif" size="2">I enter URL in google chrom as
mywebsite.com
and login into the website as admin, then i logout from site
then the url
change to http// 123.11.23.23/system/login not to
mywebsite.com/system/login.</font>
<br>
<br>
<font face="sans-serif" size="2">i am not able to under stand why
this
is happing, it just a issue in redirect whenever redirect
operation perform
then url will modify automatically. I am sure there is something
that i
ahve missed in configuration, but question i what ? i am
putting
my configuration that i have done on server please look into and
let me
know the issue.</font>
<br>
<br>
<font size="2">opencms-system.xm</font><font size="3">l</font>
<br>
<br>
<tt><font size="2"> <sites></font></tt>
<br>
<tt><font size="2"> <workplace-server></font></tt><a
moz-do-not-send="true" href="http://www.mywebsite.in/"><tt><font
size="2">http://www.mywebsite.in</font></tt></a><tt><font
size="2"></workplace-server></font></tt>
<br>
<tt><font size="2">
<default-uri>/sites/default/</default-uri></font></tt>
<br>
<tt><font size="2">
<shared-folder>/shared/</shared-folder></font></tt>
<br>
<tt><font size="2"> <site
server="</font></tt><a moz-do-not-send="true"
href="http://www.mywebsite.in/"><tt><font size="2">http://www.mywebsite.in</font></tt></a><tt><font
size="2">"
uri="/sites/default/" title="" position="3.4028235E38"
webserver="true"/></font></tt>
<br>
<tt><font size="2"> </sites></font></tt>
<br>
<br>
<font size="2">opencms-importexport.xml</font><font size="3"> </font>
<br>
<tt><font size="2"> <rendersettings></font></tt>
<br>
<tt><font size="2">
<rfs-prefix>${CONTEXT_NAME}/export</rfs-prefix></font></tt>
<br>
<tt><font size="2">
<vfs-prefix>${CONTEXT_NAME}</vfs-prefix></font></tt>
<br>
<tt><font size="2">
<userelativelinks>false</userelativelinks></font></tt>
<br>
<tt><font size="2">
<exporturl></font></tt><a
moz-do-not-send="true" href="http://127.0.0.1:8080$/"><tt><font
size="2">http://127.0.0.1:8080$</font></tt></a><tt><font
size="2">{CONTEXT_NAME}/handle404</exporturl></font></tt>
<br>
<tt><font size="2">
<plainoptimization>true</plainoptimization></font></tt>
<br>
<tt><font size="2">
<testresource
uri="/system/shared/page.dtd" /></font></tt>
<br>
<tt><font size="2">
<resourcestorender></font></tt>
<br>
<tt><font size="2">
<regex>/sites/.*</regex></font></tt>
<br>
<tt><font size="2">
<regex>/system/workplace/commons/style/.*</regex></font></tt>
<br>
<tt><font size="2">
<regex>/system/galleries/.*</regex></font></tt>
<br>
<tt><font size="2">
<regex>/system/modules/.*/resources/.*</regex></font></tt>
<br>
<tt><font size="2">
</resourcestorender></font></tt>
<br>
<tt><font size="2">
</rendersettings></font></tt>
<br>
<tt><font size="2">server.xml</font></tt>
<br>
<tt><font size="2"><?xml version="1.0" encoding="utf-8"?></font></tt>
<br>
<tt><font size="2"><Server port="8005" shutdown="SHUTDOWN"
debug="0"></font></tt>
<br>
<tt><font size="2"> <Service name="Tomcat-Standalone"></font></tt>
<br>
<tt><font size="2"> <!-- Define a connector for the "public
visible" server name --></font></tt>
<br>
<tt><font size="2"> <Connector
className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8080" minProcessors="5" maxProcessors="75"
proxyName="</font></tt><a moz-do-not-send="true"
href="http://123.114.23.42/"><tt><font size="2">http://123.114.23.42</font></tt></a><tt><font
size="2">"
proxyPort="80" useBodyEncodingForURI="true"
enableLookups="true"
redirectPort="8443" acceptCount="100" debug="0"
connectionTimeout="20000" useURIValidationHack="false"
disableUploadTimeout="true"/></font></tt>
<br>
<tt><font size="2"> <Engine name="Standalone"
defaultHost="localhost" debug="0"></font></tt>
<br>
<tt><font size="2"> <Host name="localhost"
debug="0" appBase="webapps" unpackWARs="true"
autoDeploy="true"></font></tt>
<br>
<tt><font size="2"> <!-- You can change
"unpackWARs" and "autoDeploy" to false after the installation
is finished --></font></tt>
<br>
<tt><font size="2"> <Logger
className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="localhost_log." suffix=".txt"
timestamp="true"/></font></tt>
<br>
<tt><font size="2"> </Host></font></tt>
<br>
<tt><font size="2"> </Engine></font></tt>
<br>
<tt><font size="2"> </Service></font></tt>
<br>
<tt><font size="2"> <Service debug="0" name="PSA"></font></tt>
<br>
<tt><font size="2"> <Connector port="9008"
enableLookups="true" protocol="AJP/1.3"/></font></tt>
<br>
<tt><font size="2"> <Connector port="9080"
maxThreads="15" minSpareThreads="5" maxSpareThreads="75"
enableLookups="true" acceptCount="10"
connectionTimeout="20000"
disableUploadTimeout="true"/></font></tt>
<br>
<tt><font size="2"> <Engine name="PSA"
defaultHost="localhost"/></font></tt>
<br>
<tt><font size="2"> </Service></font></tt>
<br>
<tt><font size="2"></Server></font></tt>
<br>
<br>
<br>
<font face="sans-serif" size="2">httpd.conf</font>
<br>
<br>
<font face="sans-serif" size="2">#</font>
<br>
<font face="sans-serif" size="2"># Dynamic Shared Object (DSO)
Support</font>
<br>
<font face="sans-serif" size="2">#</font>
<br>
<font face="sans-serif" size="2"># To be able to use the
functionality
of a module which was built as a DSO you</font>
<br>
<font face="sans-serif" size="2"># have to place corresponding
`LoadModule'
lines at this location so the</font>
<br>
<font face="sans-serif" size="2"># directives contained in it are
actually
available _before_ they are used.</font>
<br>
<font face="sans-serif" size="2"># Statically compiled modules
(those
listed by `httpd -l') do not need</font>
<br>
<font face="sans-serif" size="2"># to be loaded here.</font>
<br>
<font face="sans-serif" size="2">#</font>
<br>
<font face="sans-serif" size="2"># Example:</font>
<br>
<font face="sans-serif" size="2"># LoadModule foo_module
modules/mod_foo.so</font>
<br>
<font face="sans-serif" size="2">#</font>
<br>
<br>
<font face="sans-serif" size="2">LoadModule auth_basic_module
modules/mod_auth_basic.so</font>
<br>
<font face="sans-serif" size="2">LoadModule auth_digest_module
modules/mod_auth_digest.so</font>
<br>
<font face="sans-serif" size="2">LoadModule authn_file_module
modules/mod_authn_file.so</font>
<br>
<font face="sans-serif" size="2">LoadModule authn_alias_module
modules/mod_authn_alias.so</font>
<br>
<font face="sans-serif" size="2">LoadModule authn_anon_module
modules/mod_authn_anon.so</font>
<br>
<font face="sans-serif" size="2">LoadModule authn_dbm_module
modules/mod_authn_dbm.so</font>
<br>
<font face="sans-serif" size="2">LoadModule authn_default_module
modules/mod_authn_default.so</font>
<br>
<font face="sans-serif" size="2">LoadModule authz_host_module
modules/mod_authz_host.so</font>
<br>
<font face="sans-serif" size="2">LoadModule authz_user_module
modules/mod_authz_user.so</font>
<br>
<font face="sans-serif" size="2">LoadModule authz_owner_module
modules/mod_authz_owner.so</font>
<br>
<font face="sans-serif" size="2">LoadModule authz_groupfile_module
modules/mod_authz_groupfile.so</font>
<br>
<font face="sans-serif" size="2">LoadModule authz_dbm_module
modules/mod_authz_dbm.so</font>
<br>
<font face="sans-serif" size="2">LoadModule authz_default_module
modules/mod_authz_default.so</font>
<br>
<font face="sans-serif" size="2">LoadModule ldap_module
modules/mod_ldap.so</font>
<br>
<font face="sans-serif" size="2">LoadModule authnz_ldap_module
modules/mod_authnz_ldap.so</font>
<br>
<font face="sans-serif" size="2">LoadModule include_module
modules/mod_include.so</font>
<br>
<font face="sans-serif" size="2">LoadModule log_config_module
modules/mod_log_config.so</font>
<br>
<font face="sans-serif" size="2">LoadModule logio_module
modules/mod_logio.so</font>
<br>
<font face="sans-serif" size="2">LoadModule env_module
modules/mod_env.so</font>
<br>
<font face="sans-serif" size="2">LoadModule ext_filter_module
modules/mod_ext_filter.so</font>
<br>
<font face="sans-serif" size="2">LoadModule mime_magic_module
modules/mod_mime_magic.so</font>
<br>
<font face="sans-serif" size="2">LoadModule expires_module
modules/mod_expires.so</font>
<br>
<font face="sans-serif" size="2">LoadModule deflate_module
modules/mod_deflate.so</font>
<br>
<font face="sans-serif" size="2">LoadModule headers_module
modules/mod_headers.so</font>
<br>
<font face="sans-serif" size="2">LoadModule usertrack_module
modules/mod_usertrack.so</font>
<br>
<font face="sans-serif" size="2">LoadModule setenvif_module
modules/mod_setenvif.so</font>
<br>
<font face="sans-serif" size="2">LoadModule mime_module
modules/mod_mime.so</font>
<br>
<font face="sans-serif" size="2">LoadModule dav_module
modules/mod_dav.so</font>
<br>
<font face="sans-serif" size="2">LoadModule status_module
modules/mod_status.so</font>
<br>
<font face="sans-serif" size="2">LoadModule autoindex_module
modules/mod_autoindex.so</font>
<br>
<font face="sans-serif" size="2">LoadModule info_module
modules/mod_info.so</font>
<br>
<font face="sans-serif" size="2">LoadModule dav_fs_module
modules/mod_dav_fs.so</font>
<br>
<font face="sans-serif" size="2">LoadModule vhost_alias_module
modules/mod_vhost_alias.so</font>
<br>
<font face="sans-serif" size="2">LoadModule negotiation_module
modules/mod_negotiation.so</font>
<br>
<font face="sans-serif" size="2">LoadModule dir_module
modules/mod_dir.so</font>
<br>
<font face="sans-serif" size="2">LoadModule actions_module
modules/mod_actions.so</font>
<br>
<font face="sans-serif" size="2">LoadModule speling_module
modules/mod_speling.so</font>
<br>
<font face="sans-serif" size="2">LoadModule userdir_module
modules/mod_userdir.so</font>
<br>
<font face="sans-serif" size="2">LoadModule alias_module
modules/mod_alias.so</font>
<br>
<font face="sans-serif" size="2">LoadModule substitute_module
modules/mod_substitute.so</font>
<br>
<font face="sans-serif" size="2">LoadModule rewrite_module
modules/mod_rewrite.so</font>
<br>
<font face="sans-serif" size="2">LoadModule proxy_module
modules/mod_proxy.so</font>
<br>
<font face="sans-serif" size="2">LoadModule proxy_balancer_module
modules/mod_proxy_balancer.so</font>
<br>
<font face="sans-serif" size="2">LoadModule proxy_ftp_module
modules/mod_proxy_ftp.so</font>
<br>
<font face="sans-serif" size="2">LoadModule proxy_http_module
modules/mod_proxy_http.so</font>
<br>
<font face="sans-serif" size="2">LoadModule proxy_ajp_module
modules/mod_proxy_ajp.so</font>
<br>
<font face="sans-serif" size="2">LoadModule proxy_connect_module
modules/mod_proxy_connect.so</font>
<br>
<font face="sans-serif" size="2">LoadModule cache_module
modules/mod_cache.so</font>
<br>
<font face="sans-serif" size="2">LoadModule suexec_module
modules/mod_suexec.so</font>
<br>
<font face="sans-serif" size="2">LoadModule disk_cache_module
modules/mod_disk_cache.so</font>
<br>
<font face="sans-serif" size="2">LoadModule cgi_module
modules/mod_cgi.so</font>
<br>
<font face="sans-serif" size="2">LoadModule version_module
modules/mod_version.so</font>
<br>
<br>
<font face="sans-serif" size="2">..... some more comments and
configurations
there then </font>
<br>
<br>
<font face="sans-serif" size="2"><VirtualHost *:80></font>
<br>
<font face="sans-serif" size="2"> <Directory
"${TOMCAT_HOME}/webapps/ROOT/"></font>
<br>
<font face="sans-serif" size="2"> Order
allow,deny</font>
<br>
<font face="sans-serif" size="2"> Allow
from all</font>
<br>
<font face="sans-serif" size="2"> </Directory> </font>
<br>
<font face="sans-serif" size="2"> ServerName ${DOMAIN_NAME}</font>
<br>
<font face="sans-serif" size="2"> ServerAdmin
<a class="moz-txt-link-abbreviated" href="mailto:webmaster@alkacon.com">webmaster@alkacon.com</a></font>
<br>
<font face="sans-serif" size="2"> DocumentRoot
"/usr/share/tomcat6/webapps/ROOT/"</font>
<br>
<font face="sans-serif" size="2"> ErrorLog logs/error.log</font>
<br>
<font face="sans-serif" size="2"> </font>
<br>
<font face="sans-serif" size="2"> # Log only non-redirect
requests in "normal" log file</font>
<br>
<font face="sans-serif" size="2"> SetEnvIf Request_URI
"\/opencms\/*"
redirect</font>
<br>
<font face="sans-serif" size="2"> CustomLog
logs/localhost-access.log
common env=!redirect</font>
<br>
<br>
<font face="sans-serif" size="2"> ProxyPass /opencms/
!</font>
<br>
<font face="sans-serif" size="2"> RedirectPermanent /opencms/
<a class="moz-txt-link-freetext" href="http://$">http://$</a>{DOMAIN_NAME}/</font>
<br>
<br>
<font face="sans-serif" size="2"> ProxyPass
/resources/
!</font>
<br>
<font face="sans-serif" size="2"> ProxyPass
/export/
!</font>
<br>
<font face="sans-serif" size="2"> </font>
<br>
<font face="sans-serif" size="2"> ProxyPass
/
</font><a moz-do-not-send="true"
href="http://localhost:8080/opencms/"><font face="sans-serif"
size="2">http://localhost:8080/opencms/</font></a>
<br>
<font face="sans-serif" size="2"> ProxyPassReverse /
</font><a moz-do-not-send="true"
href="http://localhost:8080/opencms/"><font face="sans-serif"
size="2">http://localhost:8080/opencms/</font></a>
<br>
<font face="sans-serif" size="2"> </font>
<br>
<font face="sans-serif" size="2"></VirtualHost></font>
<br>
<br>
<font face="sans-serif" size="2"><VirtualHost *:8080></font>
<br>
<font face="sans-serif" size="2"> <Directory
"${TOMCAT_HOME}/webapps/test/"></font>
<br>
<font face="sans-serif" size="2"> Order
allow,deny</font>
<br>
<font face="sans-serif" size="2"> Allow
from all</font>
<br>
<font face="sans-serif" size="2"> </Directory> </font>
<br>
<font face="sans-serif" size="2"> ServerName ${DOMAIN_NAME}</font>
<br>
<font face="sans-serif" size="2"> ServerAdmin
<a class="moz-txt-link-abbreviated" href="mailto:webmaster@alkacon.com">webmaster@alkacon.com</a></font>
<br>
<font face="sans-serif" size="2"> DocumentRoot
"${TOMCAT_HOME}/webapps/wewebsite/"</font>
<br>
<font face="sans-serif" size="2"> ErrorLog logs/error.log</font>
<br>
<font face="sans-serif" size="2"> </font>
<br>
<font face="sans-serif" size="2"> # Log only non-redirect
requests in "normal" log file</font>
<br>
<font face="sans-serif" size="2"> SetEnvIf Request_URI
"\/wewebsite\/*"
redirect</font>
<br>
<font face="sans-serif" size="2"> CustomLog
logs/localhost-access.log
common env=!redirect</font>
<br>
<br>
<font face="sans-serif" size="2"> ProxyPass
/wewebsite/
!</font>
<br>
<font face="sans-serif" size="2"> RedirectPermanent /wewebsite/
<a class="moz-txt-link-freetext" href="http://$">http://$</a>{DOMAIN_NAME}/</font>
<br>
<br>
<font face="sans-serif" size="2"> </font>
<br>
<font face="sans-serif" size="2"> #ProxyPass
/
</font><a moz-do-not-send="true"
href="http://localhost:8080/wewebsite/"><font face="sans-serif"
size="2">http://localhost:8080/wewebsite/</font></a>
<br>
<font face="sans-serif" size="2"> #ProxyPassReverse /
</font><a moz-do-not-send="true"
href="http://localhost:8080/wewebsite/"><font face="sans-serif"
size="2">http://localhost:8080/wewebsite/</font></a>
<br>
<font face="sans-serif" size="2"></VirtualHost></font>
<br>
<br>
<br>
<font face="sans-serif" size="2">i have fond these configuration
from
</font><a moz-do-not-send="true"
href="http://www.opencms-wiki.org/wiki/Avoiding_/opencms/opencms_in_the_URL_%28apache_%2B_mod_proxy%29"><font
face="sans-serif" size="2">http://www.opencms-wiki.org/wiki/Avoiding_/opencms/opencms_in_the_URL_(apache_%2B_mod_proxy)</font></a>
<br>
<br>
<font face="sans-serif" size="2">Please friends help me. and
thanks paul
for your last reply to my question.</font>
<br>
<font face="sans-serif" size="2"> </font>
<br>
<font face="sans-serif" size="2">Manoj Kumar Sharma</font>
<br>
<font face="sans-serif" size="1">9718729491</font>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
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
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
</div>
</body>
</html>