i place apache document root inside partition of ubuntu hard drive, keep getting forbidden message, when place home directory woking find, how be? group or owner affected ? here mysite.conf , apache2.conf when place document root in home folder (working) #site-available/mysite.conf documentroot /home/jono/www #/etc/apache2/apache2.conf <directory /home/jono/www/> options indexes followsymlinks allowoverride none require granted </directory> bu when change document root partition keep getting forbidden messasge #site-available/mysite.conf documentroot /media/jono/website_data/www #/etc/apache2/apache2.conf <directory /media/jono/website_data/www/> options indexes followsymlinks allowoverride none require granted </directory> is owner/group access affected ? or there problem ? at last it's working, have grant access www:data accesing whole directory @mark-b, using chown -r www-data:www-data whole directory is...
i trying add nodes dagre graph through cityscape.js. problem nodes not painted. code have: cy.add({ group: "nodes", data: { id:"n0",name:"n0",weight: 75 }, }); $.ajax(url).done(function(jsontree){ var newnodes=[]; for(var i=1;i<6;i++){ //var child = jsontree.result[i]; newnodes.push( { group: "nodes", data: { id: "n"+i, name:"n"+i}}, { group: "edges", data: { id: "e"+i, source: "n0", target: "n"+i } } ); } cy.add(newnodes); any ideas? have used loaded function reload graph not work. not know if have use specific function reload graph. thank in advance. you need add positions new nodes. cytoscape.js docs : it important note positions of newly added nodes must defined when calling cy.add(). nodes can not placed in graph without valid position — otherwise not displayed. yo...
i've read every webpage available on google, read 10+ stackoverflow posts on subject, still cannot working properly. i'm 99% there. there must simple i'm missing i've spent 4 hours on far no luck. i'm working on main menu game i'm writing. want draw animation in center transparent surfaceview, black screen instead of seeing background. since surfaceview on top of linearlayout, i've played around every combination of background color , alpha setting -- nothing works. like 10+ topics on stackoverflow mention, added this: manimview = (surfaceview) findviewbyid (r.id.animationsurfaceview); manimview.setzorderontop(true); // necessary manimview.getholder ().setformat(pixelformat.transparent); surfaceholder sfhtrackholder = manimview.getholder (); sfhtrackholder.addcallback (this); in callbacks this: public void surfacechanged(surfaceholder holder, int format, int width, int height) { holder.setformat(pixelformat.transparen...
Comments
Post a Comment