HTACCESS: Difference between revisions

From NikkiWiki
Jump to navigation Jump to search
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 25: 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 Server Access (HTACCESS) for Nicole Sharp's Website.
AddType "text/plain; charset=utf-8" .txt
# Copyright (C) 2026-04-09 Nicole Sharp
 
# https://www.nicolesharp.net/
# Apache Hypertext Transfer Protocol Server Access (HTACCESS) for Nicole Sharp's Website: https://www.nicolesharp.net/
# Content in this file is available under the Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 International Public License.
# Copyright (C) 2026-04-11 Nicole Sharp (NicoleSharp.net)
# https://www.creativecommons.org/licenses/by-sa/4.0/
# Content in this file is available under the Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 International Public License: https://www.nicolesharp.net/wiki/CC_BY-SA
</syntaxhighlight>
</syntaxhighlight>


== references ==
== references ==


# [https://httpd.apache.org/ <cite>Apache HTTP Server Project</cite>]
# [[wikibooks:Apache|<cite>Wikibooks</cite>: "Apache HTTP Server"]]
# [https://httpd.apache.org/docs/current/ <cite>Apache HTTP Server Project Documentation</cite>]


[[category:webdevelopment]]
[[category:webdevelopment]]
[[category:APACHE]]

Latest revision as of 2026-04-11T20:18:09

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

AddType "text/plain; charset=utf-8" .txt

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

references

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