Basic http server publish

Posted by jmls on 03-May-2011 01:34

I am trying to use the "basic http server" on the Servers view to automatically publish my web contents to the appropriate apache subdirectory of htdocs.

All folder structures and all files replicate properly, with the exception of .js files. These files always give the error "permission denied". If I rename (for example) myscript.js to myscript.js.txt then that file will be published correctly. It must be something to do with the .js extention, but I haven't the faintest idea on where to start looking.

Anyone got any clues ?

Thanks

All Replies

Posted by grkumar on 03-May-2011 04:57

I don't think this has anything to do with Architect and Eclipse WTP. I think its a problem with premissions with your OS for that particular forlder. Can you please check manually pasting .js file inside the respective folder to see if the Permission Denied is shown or not.

Thanks

Girish

Posted by jmls on 03-May-2011 05:20

I can paste manually. I can publish any file as long as it not a ".js"

file. If I have a "foo.js" it fails to publish, if I rename it (within

OEA) to "foo.fs.txt" it is published just fine.

Posted by jmls on 03-May-2011 06:34

In fact, it's worse. If I have a .js file in the directory on the webserver, it gets removed. Then the file from OEA can't be copied, so I'm left with no .js files at al !!

This thread is closed