<div dir="ltr">Hi Marc,<br><br>I guess you have to add a location for "/opencms" to be passed to <a href="http://127.0.0.1:8081/opencms/">http://127.0.0.1:8081/opencms/</a> as well or prevent in some other way that requests that already point to the opencms servlet become prefixed with another "/opencms" again.<br>
<div><br></div><div>Regards,<br></div><div>Stephan<br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/7 Marc Johnson <span dir="ltr"><<a href="mailto:originalstoic@yahoo.com" target="_blank">originalstoic@yahoo.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:times new roman,new york,times,serif">The workplace is working generally except the popup boxes(gallery, vfs file paths, in admin... the Group box, etc ...) within the workspace are throwing errors.<br>
<br>for example if I click the box in User Administration to create a new Group and then go to select a Parent Group, I get vfs resource not found with the requisite stack trace.  <br><br>Upon further investigation in the code I see that a js function is called:<br>
<br>"javascript:openGroupWin('/opencms/system/workplace/commons/group_selection.jsp','EDITOR',  'parentGroup.0', document, null, null, '');"<br><br>Clearly the problem is that the /opencms/ on the front end is not getting stripped out when the popup happens.  Sure enough when I remove the opencms and do just <a href="http://mydomain.com/system...(path" target="_blank">mydomain.com/system...(path</a> from above), the correct working workplace page is
 rendered.  This is what's happening in every other case so the workplace is quite functional.<br><br>So... can anybody say why nginx is handling this everywhere else in the workplace but not for these popups.  Has anyone seen this before?  My nginx settings are below.<br>
<br>server {<br>    listen 83;<br>    #server_name <a href="http://mydomain.com" target="_blank">mydomain.com</a>;<br>    listen [::]:83 default_server ipv6only=on;<br>    root /usr/share/tomcat7/webapps/ROOT/;<br>    index index.html index.htm index.jsp;<br>
<br>    # Make site accessible from <a href="http://localhost/" target="_blank">http://localhost/</a><br>    server_name localhost;<br><br>    location / {    <br>        proxy_redirect          off;<br>              
 proxy_pass              <a href="http://127.0.0.1:8081/opencms/" target="_blank">http://127.0.0.1:8081/opencms/</a>;<br>            proxy_set_header        X-Real-IP $remote_addr;<br>            proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;<br>
            proxy_set_header        Host $http_host; <br>    }<br><br>    location /export {<br>        try_files $uri /handle404?exporturi=$uri&$args;<br>        expires       24h;<br>        add_header    Cache-Control  private;<br>
   
 }<br><br>    location /external {<br>        expires       24h;<br>        add_header    Cache-Control  private;<br>    }<br><br>    location /resources {<br>        expires       24h;<br>        add_header    Cache-Control  private;<br>
    }<br>}<br></div></div><br>_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
<br></blockquote></div><br></div>