AtlasOfLivingAustralia / ala-wordpress-theme

WordPress theme for Atlas main site.
3 stars 3 forks source link

Serving static content from www2.ala.org.au & www.ala.org.au #1

Closed nickdos closed 8 years ago

nickdos commented 9 years ago

[Feel free to move this if this is not the right repo]

There are a few version of the ala-web-theme and ala-bootstrapX Grails plugins which have a dependency on some static resources served from either www2.ala.org.au or www.ala.org.au.

This issue is to ensure these files are continued to be provided from the new www.ala.org.au server.

Most of these files exists in /srv/www/vhosts/www2.ala.org.au/htdocs/ but I think it would be better to keep the actual files in /data/static/ (or similar) and then to sym link them to the various apache htdocs directories. See commonui-bs2 as an example, where I've already done this (on alaprodweb1-cbr).

The following directories/files in alaprodweb1-cbr:/srv/www/vhosts/www2.ala.org.au/htdocs are definitely needed:

ALA4R2.html
commonui
commonui-bs2
commonui-bs3
newsletterFiles

But the remaining files/dir might be needed, I just don't know. Maybe ask Dave M?

In addition, the commonui* directories should also be linked to in /srv/www/vhosts/www.ala.org.au/htdocs/wordpress (or have an apache rule to allow them to be served outside of wordpress), so that they can be served under HTTPS (which doesn't work for www2.ala.org.au). Feel free to remedy that and then drop serving them under www.ala.org.

djtfmartin commented 9 years ago

ALA4R2.html - isnt required anymore.

I'd just move

commonui-bs2 commonui-bs3 newsletterFiles

for now.

nickdos commented 9 years ago

Feel free to remedy that and then drop serving them under www.ala.org.

Forget this last part - we are serving files from www.ala.org.au now so this would break stuff

matthewandrews commented 9 years ago

in the process of doing that... but it occurs to me that perhaps these should be in their own repo? "static-web-files" or something? or is that duplicating stuff in other repos?

matthewandrews commented 9 years ago

OK, done. The following directories are now available (via http and https) at www2-zappa.ala.org.au (only from within csiro network) and will be available (via http and https) at www.ala.org.au and www2.ala.org.au once we switch those DNS entries over:

commonui-bs2 commonui-bs3 newsletterFiles

Example: http://www2-zappa.ala.org.au/commonui-bs2/footer.html

Other directories that are being served (on old/current www2), in case any of these need to be migrated over:

biocache
checklistbank
chuong
commonui
commonui.prev
datasets -> /data/ALA Data/
files
HTML-Prototype-2
HTML-Prototype-3
HTML-Prototype-3.1
iphone
ontology
phylojive
portalcache -> /data/portalcache
sitemaps
nickdos commented 9 years ago

ala-bootstrap2 are in their own repo here:

https://github.com/AtlasOfLivingAustralia/ala-bootstrap2/tree/2015-design/commonui-bs2

ala-bootstrap3 should have the same thing but not sure its been done yet

matthewandrews commented 8 years ago

OK, this was all done a while back.