Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README.md: Give examples of .htaccess and w3id.org/example #3597

Merged
merged 7 commits into from
Oct 5, 2023
Merged

README.md: Give examples of .htaccess and w3id.org/example #3597

merged 7 commits into from
Oct 5, 2023

Conversation

bact
Copy link
Contributor

@bact bact commented Sep 26, 2023

  • Give two examples of .htaccess:
    1. One minimal: I chose one from /mircat/, as they do only simple redirection (w3id.org/mircat/ANYTHING -> fairsharing.github.io/mircat/ANYTHING) in 3 lines of code. No other fancy options.
    2. One content type-sensitive: I chose one from /ppop/, as it demonstrates how to handle two content types (HTML and Turtle) using RewriteCond %{HTTP_ACCEPT}. User can get some idea here and understand other more complex examples.
  • Mention w3id.org/example showcase - Added example ontology #1639
  • Add link to .htaccess rules test tool
  • Update links to HTTPS where appropriate
  • Add link to w3id.org/examples

This may addressed few points discussed in issues #1530 and #1643

* Give two examples of .htaccess (one catch-all, one content type-sensitive)
* Mention w3id.org/example showcase
* Update links to HTTPS where appropriate
Reason: pages that redirected to are more illustrated of how different paths work.
Reason: Not very reliable
@bact
Copy link
Contributor Author

bact commented Sep 28, 2023

.htaccess examples proposed here maybe dropped and replaced with a link to examples/ instead, if #3600 is accepted.

README.md Outdated Show resolved Hide resolved
@davidlehn
Copy link
Collaborator

Should docs use the examples/ updates now?

@davidlehn davidlehn merged commit 1bb2bc0 into perma-id:master Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants