« Return to Thread: Put OpenCms behind apache, source-code editor disappears :-(

Put OpenCms behind apache, source-code editor disappears :-(

by Bugzilla from yg@mind.lu :: Rate this Message:

Reply to Author | View in Thread

Hello,

I have an instance of OpenCms 7.0.5-jpa which worked well, until I needed to
put it behind an apache, using mod_proxy_ajp (with no static file serving for
apache)

In short, everything works fine, except the source-code editor does not work
anymore, the tab in firefox stays gray and has the following source loaded:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>(yglodt) - Editing /index.html</title>
<script type="text/javascript">
<!--
        // change window name when opening editor in direct edit mode
        // to avoid loss of content when previewing another resource in Explorer view
        if (window.name == "preview") {
                window.name = "editor_directedit";
        }
//-->
</script>
</head>

<frameset rows="*,24,0" border="0" frameborder="0" framespacing="0">
    <frame name="edit"
src="/system/workplace/editors/editor_main.jsp?resourcelist=&resource=%2Findex.html"
noresize scrolling="no">
    <frame name="foot" src="/system/workplace/views/top_foot.jsp" noresize
scrolling="no">
</frameset>
</html>


Any idea what could be wrong? Attached is also the virtual host setup.

Best regards,
Yves

NameVirtualHost *:80
NameVirtualHost *:443

<VirtualHost *:80>
        ServerName      democms.mysite.lu
        ServerAlias     democms.mysite.com
        Redirect permanent / https://democms.mysite.lu/system/workplace/views/workplace.jsp
</VirtualHost>

<VirtualHost *:443>
        ServerName democms.mysite.lu
        DocumentRoot /home/www-data/empty

        SSLEngine On
        SSLCertificateFile /etc/apache2/ssl/star_mysite_lu.crt
        SSLCertificateKeyFile /etc/apache2/ssl/star_mysite_lu.key
        SSLCACertificateFile /etc/apache2/ssl/DigiCertCA.crt
        SSLProtocol -all +SSLv3 +TLSv1
        SSLCipherSuite SSLv3:+HIGH:+MEDIUM

        <Proxy *>
                Allow from all
        </Proxy>

        ProxyPass               /resources/     ajp://localhost:9180/resources/
        ProxyPassReverse        /resources/     ajp://localhost:9180/resources/

        ProxyPass               /export/        ajp://localhost:9180/export/
        ProxyPassReverse        /export/        ajp://localhost:9180/export/

        # this rule has to preceed the ajp:// rules below
        ProxyPass       /webdav/                http://localhost:8180/webdav/
        ProxyPass       /webdav                 http://localhost:8180/webdav/

        ProxyPass               /               ajp://localhost:9180/opencms/
        ProxyPassReverse        /               ajp://localhost:9180/opencms/

</VirtualHost>


_______________________________________________
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

 « Return to Thread: Put OpenCms behind apache, source-code editor disappears :-(