HTACCESS: Difference between revisions

From NikkiWiki
Jump to navigation Jump to search
Created page with "Resources for configuring Apache Hypertext Transfer Protocol (HTTP) Access (<code>.htaccess</code>) files. * [https://help.dreamhost.com/hc/articles/216456227/ <cite>DreamHost Knowledge Base</cite>: "HTACCESS Overview"] * [https://httpd.apache.org/docs/current/howto/htaccess.html <cite>Apache HTTP Server Project Documentation</cite>: "HTACCESS Files"] * [https://help.dreamhost.com/hc/articles/215747758/ <cite>DreamHost Knowledge Base</cite>: "Force Your Site to Load Sec..."
 
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
Resources for configuring Apache Hypertext Transfer Protocol (HTTP) Access (<code>.htaccess</code>) files.
Resources for configuring <strong>Apache Hypertext Transfer Protocol (HTTP) Server Access (<code>.htaccess</code>)</strong> files.


* [https://help.dreamhost.com/hc/articles/216456227/ <cite>DreamHost Knowledge Base</cite>: "HTACCESS Overview"]
== intro ==
* [https://httpd.apache.org/docs/current/howto/htaccess.html <cite>Apache HTTP Server Project Documentation</cite>: "HTACCESS Files"]
* [https://help.dreamhost.com/hc/articles/215747758/ <cite>DreamHost Knowledge Base</cite>: "Force Your Site to Load Securely with an HTACCESS File"]


== HTTP redirects ==
# [https://help.dreamhost.com/hc/articles/216456227/ <cite>DreamHost Knowledge Base</cite>: "HTACCESS Overview"]
# [https://httpd.apache.org/docs/current/howto/htaccess.html <cite>Apache HTTP Server Project Documentation</cite>: "HTACCESS Files"]


* [https://help.dreamhost.com/hc/articles/215747748/ <cite>DreamHost Knowledge Base</cite>: "How Can I Redirect and Rewrite my Uniform Resource Locators (URLs) with an HTACCESS File?"]
== redirects ==
* [[wikipedia:HTTP status codes|<cite>Wikipedia</cite>: "HTTP Status Codes"]]
* [https://developer.mozilla.org/docs/Web/HTTP/Reference/Status/ <cite>Mozilla Developer Network</cite>: "HTTP Response Status Codes"]
* [https://httpwg.org/specs/rfc9110.html#overview.of.status.codes <cite>Internet Engineering Task Force (IETF) HTTP Working Group</cite>: "Internet Standard 97 (HTTP Semantics, Overview of Status Codes)"]


== Wikimedia MediaWiki shortlinks ==
# [https://help.dreamhost.com/hc/articles/215747748/ <cite>DreamHost Knowledge Base</cite>: "How Can I Redirect and Rewrite my Uniform Resource Locators (URLs) with an HTACCESS File?"]
# [[wikipedia:HTTP status codes|<cite>Wikipedia</cite>: "HTTP Status Codes"]]
# [https://developer.mozilla.org/docs/Web/HTTP/Reference/Status/ <cite>Mozilla Developer Network</cite>: "HTTP Response Status Codes"]
# [https://httpwg.org/specs/rfc9110.html#overview.of.status.codes <cite>Internet Engineering Task Force (IETF) HTTP Working Group</cite>: "Internet Standard 97 (HTTP Semantics: Overview of Status Codes)"]


* [[mw:Manual:Short URL/Apache|<cite>MediaWiki</cite>: "Apache Short URL"]]
== MediaWiki shortlinks ==
 
# [[mw:Manual:Short URL/Apache|<cite>Wikimedia MediaWiki</cite>: "Apache Short URL"]]


== HTACCESS for <cite>Nicole Sharp’s Website</cite> ==
== HTACCESS for <cite>Nicole Sharp’s Website</cite> ==
Line 24: Line 25:
# https://www.mediawiki.org/wiki/Manual:Short_URL/Apache#Setting_up_the_rewrite_rules
# https://www.mediawiki.org/wiki/Manual:Short_URL/Apache#Setting_up_the_rewrite_rules


# Apache Hypertext Transfer Protocol Access (HTACCESS) for Nicole Sharp’s Website.
# Apache Hypertext Transfer Protocol Server Access (HTACCESS) for Nicole Sharp's Website.
# 2026-04-08 Nicole Sharp
# Copyright (C) 2026-04-09 Nicole Sharp
# https://www.nicolesharp.net/
# https://www.nicolesharp.net/
# Content in this file is available under the Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 International Public License.
# https://www.creativecommons.org/licenses/by-sa/4.0/
</syntaxhighlight>
</syntaxhighlight>
== references ==
# [[wikibooks:Apache|<cite>Wikibooks</cite>: "Apache HTTP Server"]]
# [https://httpd.apache.org/docs/current/ <cite>Apache HTTP Server Project Documentation</cite>]
[[category:webdevelopment]]

Latest revision as of 2026-04-09T22:51:10

Resources for configuring Apache Hypertext Transfer Protocol (HTTP) Server Access (.htaccess) files.

intro

  1. DreamHost Knowledge Base: "HTACCESS Overview"
  2. Apache HTTP Server Project Documentation: "HTACCESS Files"

redirects

  1. DreamHost Knowledge Base: "How Can I Redirect and Rewrite my Uniform Resource Locators (URLs) with an HTACCESS File?"
  2. Wikipedia: "HTTP Status Codes"
  3. Mozilla Developer Network: "HTTP Response Status Codes"
  4. Internet Engineering Task Force (IETF) HTTP Working Group: "Internet Standard 97 (HTTP Semantics: Overview of Status Codes)"

MediaWiki shortlinks

  1. Wikimedia MediaWiki: "Apache Short URL"

HTACCESS for Nicole Sharp’s Website

RewriteEngine On
RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L]
RewriteRule ^/*$ %{DOCUMENT_ROOT}/w/index.php [L]
# https://www.mediawiki.org/wiki/Manual:Short_URL/Apache#Setting_up_the_rewrite_rules

# Apache Hypertext Transfer Protocol Server Access (HTACCESS) for Nicole Sharp's Website.
# Copyright (C) 2026-04-09 Nicole Sharp
# https://www.nicolesharp.net/
# Content in this file is available under the Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 International Public License.
# https://www.creativecommons.org/licenses/by-sa/4.0/

references

  1. Wikibooks: "Apache HTTP Server"
  2. Apache HTTP Server Project Documentation