Open jernst opened 8 years ago
Hello, Can I take this? Also I have a question. ubos-repo's job is to display directories or to serve HTML as well?
Yes, you can!
I’ve kept the directory index out, because otherwise one gazillion search engines download tons of large binaries gazillion times a second … for no good reason, other than making Amazon rich out of my pocket :-)
On Mar 27, 2017, at 20:57, Zvonimir Rudinski notifications@github.com wrote:
Hello, Can I take this? Also I have a question. ubos-repo's job is to display directories or to serve HTML as well?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/uboslinux/ubos-tools/issues/10#issuecomment-289656131, or mute the thread https://github.com/notifications/unsubscribe-auth/AA1ZISeMIKQJ62e-F887PZdJs4aFbAmuks5rqIU2gaJpZM4GmB2R.
Thanks :)
I'm looking at the code and for some when I run phpinfo();
I don't see CONTEXT in my enviroment variables.
Does this have to do something with the fact that I'm using PHP built-in server?
You need to run ubos-repo
under UBOS. Otherwise it's a bit pointless :-)
In UBOS:
ubos-admin createsite
enter ubos-repo
for the name of the app
access it, test it, decide what to change
git clone http://....
makepkg ...
ubos-admin update --pkg ubos-repo...
and check how your changes panned out.
Aha, Thank I will :) I've got school now but I'll check it out when I get home
I'm sorry but I couldn't install UBOS on VirtualBox
To avoid bandwidth consumption by search engines, ubos-repo does not provide a listing of the files in the directories. This, however, tends to confuse people who are attempting to debug why packages aren't installing on UBOS: they think the server is misconfigured or the depot is empty. So, using a mod_rewrite rule, perhaps, return an index.html document for those directories that don't have one that tells them about this.