Comments (1)
in fact that was the default behavior up to version 0.2 or 0.3
to accomplish that add the following line to js.htaccess and/or php.htaccess
DirectoryIndex
if you don't specify file names after that directive, you'll always get a h5ai page.
(see apache docs: http://httpd.apache.org/docs/2.0/mod/mod_dir.html#directoryindex)
That should do the trick,
please let me know if it works for you
from h5ai.
Related Issues (20)
- support for external configuration
- Is there a way to use a custom font? HOT 1
- trailing slashes on img tags now cause HTML5 validation failure
- support for sending HTTP "last-modified" header based on directory modification date?
- errors when moving from PHP 7.4 to 8.1 HOT 2
- how can I extern this function? send file to kindle.
- Only displays info page (apache2 behind nginx)
- NGINX permissions? HOT 2
- TS Stream file request
- adding non-compressed-ZIP-Option for downloading directories
- Upgrade Failure on Yunohost HOT 1
- Not working with php local server? HOT 2
- info page - cannot use passhash HOT 1
- Make h5ai stop redirect to root HOT 2
- PHP error if request is received with no user-agent header
- Show text under content menu if text file is named X (Like README.md here on github) HOT 4
- (Request) Add sketchfab's 3d-viewer support for 3D models HOT 1
- Skip root-directory in index listing HOT 3
- Click the download button, unable to download files. The download file has been renamed as: Download.html
- Dead project? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from h5ai.