already existing folder takes over the routes [see details]
@M-Agoumi is already working on this.
Since Jul 30, 2022.
- Dominant language
- PHP
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
current rewrite mod only rewrites not existing files, let's assume our public folder structure like the next
- **public**
- **pictures**
- _myImage.jpg_
- _background.png_
- _index.php_
now let's create a route in **routes/web.php**:
`\Simfa\Framework\Router::get('pictures', function(){ return 'hello world';}`
when we visit **_https://example.com/pictures_** instead of getting the request handled by our application it gets handled by Apache either indexing the folder or showing access denied
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.