Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : Show folder content in web browser



Threaded Mode | Print  

 Show folder content in web browser (13 Replies, Read 21578 times)
lesmond
Group: Member
Post Group: Working Member
Posts: 105
Status:
I want to be able to see the content of the files in a folder/domain in a web browser, and not the webuzo "Default Website Page"
I have done this before, but for the life of me cant remember how it was done, I seem to remember having to add something to "Extra Configuration"

Thanks
Les

-----------------------
Buildz Hosting
IP: --   

Show folder content in web browser
Guest
Group: Guest
Status:
Hi, this depend on what kind of server you use: Apache, Nigix, etc.
You can do a search on Google.

If I understand well you whant anyone can see all files inside a folder. This can be a security risk however this is called directory listing. You can search on Google.
IP: --   

Show folder content in web browser
lesmond
Group: Member
Post Group: Working Member
Posts: 105
Status:
Quote From : peopleinside March 13, 2017, 5:31 pm
Hi, this depend on what kind of server you use: Apache, Nigix, etc.
You can do a search on Google.

If I understand well you whant anyone can see all files inside a folder. This can be a security risk however this is called directory listing. You can search on Google.


I know its a security risk, we are OK with that. this is for Kodi and it needs to be able to see the content of the folder so the user of kodi can choose the file to download.



-----------------------
Buildz Hosting
IP: --   

Show folder content in web browser
lesmond
Group: Member
Post Group: Working Member
Posts: 105
Status:
We use Apache on our webuzo :)

-----------------------
Buildz Hosting
IP: --   

Show folder content in web browser
Guest
Group: Guest
Status:
Quote From : lesmond March 13, 2017, 5:43 pm
We use Apache on our webuzo :)


https://wiki.apache.org/httpd/DirectoryListings
:xd:
You can create an htaccess inside the folder with the code:
Code
[font=Arial][size=2][i]Options +Indexes
[/i][/size][/font]
IP: --   

Show folder content in web browser
Guest
Group: Guest
Status:
Code is:

Code
Options +Indexes


sorry but the forum software has pasted badly the code.
IP: --   

Show folder content in web browser
lesmond
Group: Member
Post Group: Working Member
Posts: 105
Status:
Sorry, Tried that does not work  :squi:  

-----------------------
Buildz Hosting
IP: --   

Show folder content in web browser
Guest
Group: Guest
Status:
Hi,
if the code I provide to you doesn't work, your Apache is probably configured to not allow Override so you can read more how to enable it here:
http://stackoverflow.com/questions/18740419/how-to-set-allowoverride-all
IP: --   

Show folder content in web browser
Guest
Group: Guest
Status:
https://httpd.apache.org/docs/current/howto/htaccess.html
IP: --   

Show folder content in web browser
lesmond
Group: Member
Post Group: Working Member
Posts: 105
Status:
Still no good I'm afraid  :-(

-----------------------
Buildz Hosting
IP: --   

Show folder content in web browser
Guest
Group: Guest
Status:
Good luck :) This I think is out of the support of webuzo. Is something related your Apache. I cannot assist you anymore. Sorry. All things I know for fix the issue is here. I AM not into your server. Have nice time :)
IP: --   

Show folder content in web browser
webuzo_manager
Group: Member
Post Group: Elite Member
Posts: 268
Status:
Hi lesmond,

You can edit the welcome.conf file located at the following location:
/usr/local/apps/apache/etc/conf.d

In the welcome.conf file replace the "Options -Indexes" with "Options +Indexes" after that you can see the files contained in the directory.

@peopleinside thanks for guiding the user in the right direction.
IP: --   

Show folder content in web browser
lesmond
Group: Member
Post Group: Working Member
Posts: 105
Status:
Thanks nikhil.m that was it :kiss:

And thank you peopleinside for your help too :angel:

-----------------------
Buildz Hosting
IP: --   

Show folder content in web browser
Guest
Group: Guest
Status:
:P
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 2, 2025, 1:16 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.702