<div dir="ltr"><div>Hi,</div><div>A few questions:</div>Do you use a balancer or is the server of opencms who resolve the domain?<div>If it is from opencms you have to set the new domain <a href="http://www.opencms-wiki.org/wiki/MultiSite_configuration_instructions">http://www.opencms-wiki.org/wiki/MultiSite_configuration_instructions</a></div><div><br></div><div>In <a href="http://www.123.com">www.123.com</a> is the only page they can not see?<br></div><div><br></div><div>Regards</div></div><br><div class="gmail_quote"><div dir="ltr">El mar., 25 de oct. de 2016 a la(s) 11:53, Qi Zhang <<a href="mailto:kksjtu@gmail.com">kksjtu@gmail.com</a>> escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg">Hi,<br class="gmail_msg"><br class="gmail_msg"></div>thanks for the help!<br class="gmail_msg"><br class="gmail_msg"></div>Yes, I was coding according to the 1st documentation. But my problem is</div></div><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><br class="gmail_msg"><br class="gmail_msg"><a href="http://opencms.123.com/index.html" class="gmail_msg" target="_blank">http://opencms.123.com/index.html</a>(offline)<br class="gmail_msg">works!<br class="gmail_msg"><a href="http://opencms.123.com/index.html" class="gmail_msg" target="_blank">http://opencms.123.com/index.html</a>(online)<br class="gmail_msg">works!<br class="gmail_msg"><a href="http://www.123.com/index.html" class="gmail_msg" target="_blank">http://www.123.com/index.html</a>(online)<br class="gmail_msg">NOT working!<br class="gmail_msg"><br class="gmail_msg"><br class="gmail_msg"></div></div><div dir="ltr" class="gmail_msg"><div class="gmail_msg"></div>Do you have any idea why it happen?<br class="gmail_msg"></div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg">2016-10-25 5:35 GMT+02:00 Jose Fermin Athie Campollo <span dir="ltr" class="gmail_msg"><<a href="mailto:athiecampollo@gmail.com" class="gmail_msg" target="_blank">athiecampollo@gmail.com</a>></span>:<br class="gmail_msg"><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Hi<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">Right now i can't see this page. <a href="http://www.opencms-wiki.org/wiki/Write_a_file_programatically" class="gmail_msg" target="_blank">http://www.opencms-wiki.org/wiki/Write_a_file_programatically</a> in it you could find a way to create a resource and then publish it </div><div class="gmail_msg">Some one else publish the code to create a resource <a href="http://opencms.996256.n3.nabble.com/Create-resource-programatically-td15459.html" class="gmail_msg" target="_blank">http://opencms.996256.n3.nabble.com/Create-resource-programatically-td15459.html</a> </div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">You should see the javadoc of<span class="m_-8552496068675999157m_457778963602854218inbox-inbox-Apple-converted-space gmail_msg" style="font-family:verdana,geneva,helvetica,arial,sans-serif;font-size:13.44px"> </span><span style="font-family:verdana,geneva,helvetica,arial,sans-serif;font-size:13.44px" class="gmail_msg">CmsObject </span><span class="m_-8552496068675999157m_457778963602854218inbox-inbox-Apple-converted-space gmail_msg" style="font-family:verdana,geneva,helvetica,arial,sans-serif;font-size:13.44px"> you can do a lot of thing with it. </span></div><div class="gmail_msg"><span class="m_-8552496068675999157m_457778963602854218inbox-inbox-Apple-converted-space gmail_msg" style="font-family:verdana,geneva,helvetica,arial,sans-serif;font-size:13.44px"><br class="gmail_msg"></span></div><div class="gmail_msg"><span class="m_-8552496068675999157m_457778963602854218inbox-inbox-Apple-converted-space gmail_msg" style="font-family:verdana,geneva,helvetica,arial,sans-serif;font-size:13.44px">Regards</span></div></div><div class="m_-8552496068675999157HOEnZb gmail_msg"><div class="m_-8552496068675999157h5 gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">El lun., 24 de oct. de 2016 a la(s) 19:10, 楊博凱 <<a href="mailto:ken@thesys.com.tw" class="gmail_msg" target="_blank">ken@thesys.com.tw</a>> escribió:<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr" class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg">你要先儲存它至offline, 再利用api  publish它至online 版本。</p>
<div class="gmail_extra m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><div class="gmail_quote m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg">2016年10月25日 上午12:38,"Qi Zhang" <<a href="mailto:kksjtu@gmail.com" class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg" target="_blank">kksjtu@gmail.com</a>>寫道:<br type="attribution" class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><blockquote class="gmail_quote m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><div class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><div class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><div class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg">Hi everyone,<br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"></div>I need to<b class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><span style="color:rgb(0,0,0)" class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"> store</span> </b>submited web form <b class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg">data</b> information<b class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"> into</b> a text<b class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"> file</b> (doesn't matter where, as long as reachable). Unfortunatelly I just got to know it is not allowed to have write access in online project.<span style="color:rgb(0,0,0)" class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"> <span style="background-color:rgb(255,255,255)" class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><b class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg">Anyone has idea of how to archive this?</b></span></span><br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"></div>I've tried to switch context to offline context. But it only works when I test it in the workspace. In the published real webpage it won't work with error HTTP 500..<br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"></div>Thanks a lot in advance!<br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg" clear="all"><div class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><div class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><div class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><div class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><div class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><div class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><div class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><div class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><div class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg">-- <br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><div class="m_-8552496068675999157m_457778963602854218m_-7225536183102109358m_7010192535923813676m_4426679182581046515gmail_signature m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg" data-smartmail="gmail_signature"><div dir="ltr" class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><div class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><div dir="ltr" class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><div class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><div dir="ltr" class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><div class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"><div class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg">Best regards,<br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"></div><div dir="ltr" class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg">Qi Zhang<br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"></div></div></div></div></div></div></div></div>
</div></div></div></div></div></div></div></div></div></div>
<br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg">_______________________________________________<br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg">
This mail is sent to you from the opencms-dev mailing list<br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg">
To change your list options, or to unsubscribe from the list, please visit<br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg">
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg">
<br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg">
<br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg">
<br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg">
<br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg"></blockquote></div></div>
_______________________________________________<br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg">
This mail is sent to you from the opencms-dev mailing list<br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg">
To change your list options, or to unsubscribe from the list, please visit<br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg">
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg">
<br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg">
<br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg">
<br class="m_-8552496068675999157m_457778963602854218gmail_msg gmail_msg">
</blockquote></div>
</div></div><br class="gmail_msg">_______________________________________________<br class="gmail_msg">
This mail is sent to you from the opencms-dev mailing list<br class="gmail_msg">
To change your list options, or to unsubscribe from the list, please visit<br class="gmail_msg">
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg"></blockquote></div><br class="gmail_msg"><br clear="all" class="gmail_msg"><br class="gmail_msg">-- <br class="gmail_msg"><div class="m_-8552496068675999157gmail_signature gmail_msg" data-smartmail="gmail_signature"><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><div dir="ltr" class="gmail_msg"><div class="gmail_msg"><div class="gmail_msg">Best regards,<br class="gmail_msg"></div><div dir="ltr" class="gmail_msg">Qi Zhang<br class="gmail_msg"></div></div></div></div></div></div></div></div>
</div>
_______________________________________________<br class="gmail_msg">
This mail is sent to you from the opencms-dev mailing list<br class="gmail_msg">
To change your list options, or to unsubscribe from the list, please visit<br class="gmail_msg">
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
</blockquote></div>