Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

Return index.html for directories that don't have one #10

Open
jernst opened this issue Nov 20, 2015 · 6 comments
Open

Return index.html for directories that don't have one #10

jernst opened this issue Nov 20, 2015 · 6 comments

Comments

@jernst
Copy link
Member

jernst commented Nov 20, 2015

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.

@jernst jernst modified the milestone: beta6 Dec 6, 2015
@zvonimirr
Copy link

Hello,
Can I take this?
Also I have a question.
ubos-repo's job is to display directories or to serve HTML as well?

@jernst
Copy link
Member Author

jernst commented Mar 28, 2017 via email

@zvonimirr
Copy link

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?

@jernst
Copy link
Member Author

jernst commented Mar 28, 2017

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.

@zvonimirr
Copy link

Aha,
Thank I will :)
I've got school now but I'll check it out when I get home

@zvonimirr
Copy link

I'm sorry but I couldn't install UBOS on VirtualBox

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants