To enable/disable directory browsing on Red5, follow the steps given below:
- Open the folder where Red5 is installed.
- Go inside the conf folder.
- Open the web.xml file.
- Search for the key string listings in the xml. As show below,
- Edit it's value as:
- true - to enable directory listings
- false - to disable directory listings
- Save the xml file.
- Restart the Red5 server.
- Try to access the path like http://localhost:5080/live/, if you get HTTP Status 404 then directory listings is disabled otherwise it is enabled.
- After verification, you're done!
Comments
Post a Comment