Comments (4)
Note: https://bugs.php.net/bug.php?id=64951.
from router.
I tested with nginx and php-fpm. I'm calling http://test.imagineapp.com/foo/bar/
and here is the output for $_SERVER['SCRIPT_NAME']
:
[SCRIPT_NAME] => /foo/bar/index.php
If I call http://test.imagineapp.com/foo/bar/bar/baz
with rewritting enabled, the result is the same.
So it seems that the content of $_SERVER['SCRIPT_NAME']
is the same for apache and nginx.
from router.
Thanks!
from router.
Done 2897e77.
from router.
Related Issues (14)
- setSubdomainSuffix HOT 5
- New feature : value control in unroute HOT 12
- RFC 6570 to Regexes HOT 2
- New context: Socket/WebSocket. HOT 7
- Translate documentation into English HOT 5
- New subdomain feature HOT 6
- Write tests HOT 5
- Mention Hoa\Router\Dav in the documentation
- Cannot found an appropriated rule to route favicon.ico. HOT 1
- Routing not completed HOT 15
- undefined function Hoa\Router\Http\mb_strtolower() HOT 3
- Problème avec la variable prefix HOT 8
- Remove duplicate content HOT 1
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 router.