Comments (3)
In general it seems like a good strategy. Keep in mind apache rewrite minutae. I think if you get rid of the directory rewrite, the following /may not/ work:
https://w3id.org/people/bsletten <--- works
https://w3id.org/people/bsletten/ <--- might not work?
The second is only a problem if the following was also desired functionality:
https://w3id.org/people/bsletten/pets/loki
So, you may want to firm up the rules such that:
- IF there is an entry in /people/.htaccess for the person, AND
- there is a /people/DIR/.htaccess file, AND
- the /people/DIR/.htaccess only contains one rewrite rule for ^$, THEN throw an error
from w3id.org.
No objection, here, Brian.
Regards,
Dave
On Jan 4, 2016, at 09:53, Manu Sporny [email protected] wrote:
In general it seems like a good strategy. Keep in mind apache rewrite minutae. I think if you get rid of the directory rewrite, the following /may not/ work:
https://w3id.org/people/bsletten <--- works
https://w3id.org/people/bsletten/ <--- might not work?The second is only a problem if the following was also desired functionality:
https://w3id.org/people/bsletten/pets/loki
So, you may want to firm up the rules such that:
IF there is an entry in /people/.htaccess for the person, AND
there is a /people/DIR/.htaccess file, AND
the /people/DIR/.htaccess only contains one rewrite rule for ^$, THEN throw an error
—
Reply to this email directly or view it on GitHub.
from w3id.org.
Upon further reflection, I am unconvinced this should be an error, maybe just a warning. I'm not sure I'll know what is new and what isn't. If we have a scenario like you describe above and you edit something, I am not sure I'll know whether you are attempting something new or editing something existent. Without having access to the account that created the URL and the account doing the edit, I don't know that I can resolve the two scenarios so a warning might get our attention. But, if we have existing versions like we have, the warning will be firing all the time and will therefore be useless. I'm going to have to noodle on this some more.
from w3id.org.
Related Issues (20)
- Scalable id storage
- Add an "How-To-Test" to the description HOT 1
- warning on clone: case sensitive/insensitive file systems HOT 1
- allow browser (html) dereferencing of i-adopt terms to abuse the available local fragment identifiers HOT 1
- bad forward from w3id.org/mediatype/ HOT 4
- W3C Caused by: com.apicatalog.jsonld.JsonLdError: Unexpected response code [429] HOT 1
- Broken link to openspring.net under Management on the w3id.org home page HOT 1
- dggs.org broken HOT 4
- Update w3id.org homepage content with one from the latest README.md HOT 1
- add redirect test workflow / github action
- How to redirect to Ontology documentation with Widoco HOT 3
- Remove directory under /italia HOT 5
- Common format for metadata and test specifications HOT 5
- Redirection issue by certificate when importing in Protege HOT 7
- Verifiable Credential JWS2020 incorrect content-type HOT 6
- build upon @MattBlissett 's gensc PR #3946
- Additional requested static re-directions for `gensc` HOT 1
- add @turbomam as maintainer of `gensc` namespace
- Documentation of the top-level Apache httpd configuration HOT 2
- w3id.org should not redirect on OPTIONS HOT 4
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 w3id.org.