https://github.com/tiehuis/cihttp
Simple Case-Insensitive File Server
https://github.com/tiehuis/cihttp
case-insensitive file-server simple
Last synced: 9 months ago
JSON representation
Simple Case-Insensitive File Server
- Host: GitHub
- URL: https://github.com/tiehuis/cihttp
- Owner: tiehuis
- License: mit
- Created: 2019-01-04T11:03:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-05T11:04:16.000Z (over 7 years ago)
- Last Synced: 2025-03-22T01:28:59.075Z (over 1 year ago)
- Topics: case-insensitive, file-server, simple
- Language: Go
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A minimal file server for unix systems which serves files as if they exist on
a case-insensitive file system.
# Usage
Serve files from the current directory
```
go get -u github.com/tiehuis/cihttp
cihttp
```
# Why
If an application is developed on Windows and the developer has not normalized
their file paths then it is common for many 404 errors to occur as unlike windows,
unix systems have case-sensitive file systems.
This server simply remaps requests to look for files in a case insensitive manner
regardless of the underlying file-system case sensitivity.