marekrei / encode-explorer

http://encode-explorer.siineiolekala.net
236 stars 120 forks source link

An absolute URL basepath #59

Open yani opened 7 years ago

yani commented 7 years ago

I have a chrooted setup where I'm trying to serve files from the _startingdir: /wwwfiles/ The basedir has been set to / and the explorer script is located at /public_html/explorer.php The webserver has rules for URLs towards http://example.com/files/<filepath> where the files from /wwwfiles/ are served by a download-script.

The files are correctly displayed in the folder view.

My issue however is that I can't make the URLs point to http://example.com/files/<filepath> Right now they are being translated to http://example.com/wwwfiles/<filepath>

I think it would be a good to allow an absolute URL basepath.