[ensembl-dev] Minified CSS and JS links missing in EnsemblGenomes mirror

Jan.Taubert at kws.com Jan.Taubert at kws.com
Wed May 21 08:40:29 BST 2014


Hi,

I am trying to setup a local EnsemblGenomes mirror using the virtual machine image from 16.05.2014. However, I am now experiencing a problem with loading the minified CSS and JS files for the webpage after rebuilding the config. The CSS and JS is generated correctly:

[eguser at ensembl minified]$ pwd
/ensembl/ensembl-genomes/release-22/ensembl-webcode/htdocs/minified
[eguser at ensembl minified]$ ll
total 1504
-rw-rw-r--. 1 eguser eguser 135881 May 21 08:02 5ec515962656e919612ba04fbe109094.css
-rw-rw-r--. 1 eguser eguser 110959 May 21 07:57 8fd260b6d3e136f0c37660917d81358f.js
-rw-rw-r--. 1 eguser eguser 563323 May 21 07:57 ad77343cf5657d5f0c9fa74094e26105.js
-rw-rw-r--. 1 eguser eguser 561602 May 21 08:02 d215318d4d1cebdf474400add5b8d9d9.js
-rw-rw-r--. 1 eguser eguser 151772 May 21 07:57 da7ddbd7793fce75243b054500b1d054.css

It can also be accessed via the webpage when entering the URL directly:

[eguser at ensembl minified]$ curl "http://10.10.70.129:8080/minified/5ec515962656e919612ba04fbe109094.css"
body{font-family:Luxi Sans,Helvetica,Arial,Geneva,sans-serif;font-size:80%;color:#555;background-color:#fff;padding:0;margin:0;border:0}body.ie6{font-size:85%}pre,code,kbd{font-family:Courier New,Courier,monospace}div,span,p,li,dd,dt,th,td,pre,code,kbd{font-size:1em}body.ie6 th,body.ie6 td{font-size:13px}img{border:0}form{border:0;margin:0 0 1em 0}p{margin:0 0 1em;line-height:1.25em;padding:0}ul,ol{margin:0 0 1.25em;line-height:1.25em;padding-left:2em}pre{margin:0 0 1em}#min_width_container{position:relative;width:100%;min-width:775px}#min_width_holder{display:block}body.ie6 #min_width_container{border-right:775px solid #fff}body.ie6 #min_width_holder{display:inline-block;position:relative;margin-right:-775px}.hidden{display:none}.hide{display:none}.page{text-align:center;padding:.25em}.spinner{height:100px;display:block;border:16px solid transparent;margin:0 0 16px;text-align:center;background:url(/i/e-loader.gif) no-repeat bottom center}.pointer{cursor:pointer}body.ie6 .spinner{background-color:#fff;border-color:#fff;height:132px}.top-margin{margin-top:1em!important}.bottom-margin{margin-bottom:1em!important}.left-margin{margin-left:1em!important}.right-margin{margin-right:1em!important}...

However the CSS and JS links are not set correctly in the HTML page:
<title>Ensembl Plants</title>

  <link rel="stylesheet" type="text/css" media="all" href="/minified/.css" />

  <link rel="icon" href="/i/ensembl-favicon.png" type="image/png" />

...

<script type="text/javascript" src="/minified/.js"></script>

</body>

I ran the following configuration:


==============================================================================

Server information:

==============================================================================



Ensembl version:    75



Database Host:      10.10.70.119



ORM Databases:      user: ensembl_accounts on 10.10.70.119



External address:   http://ensembl.kws.de:8080/

Real address:       http://ensembl.kws.de:8080



Search Server:



Cache namespace:    http://ensembl.kws.de:8080



Server root:        /ensembl/ensembl-genomes/release-22



PID file:           /ensembl/ensembl-genomes/release-22/logs/ensembl.kws.de.httpd.pid

Access logs:        /ensembl/ensembl-genomes/release-22/logs/ensembl.kws.de.access_log ensembl_extended

Error logs:         /ensembl/ensembl-genomes/release-22/logs/ensembl.kws.de.error_log



CSS file:           http://ensembl.kws.de:8080/minified/5ec515962656e919612ba04fbe109094.css

JavaScript file:    http://ensembl.kws.de:8080/minified/d215318d4d1cebdf474400add5b8d9d9.js



Plugins installed:  EnsEMBL::Genoverse

                     EG::Plants

                     EG::Common

                     EnsEMBL::Users





==============================================================================


Any advice?

Thank you,
Jan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20140521/ca0b11cb/attachment.html>


More information about the Dev mailing list