summaryrefslogtreecommitdiff
path: root/manual.conf
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-06-07 08:09:38 +0000
committerCoprDistGit <infra@openeuler.org>2024-06-07 08:09:38 +0000
commitedf4f9a1c21918301ebf00f421c1e6242177548a (patch)
tree4f4e54156e7e2eb810d156806ca5ec07cd11b332 /manual.conf
parent234812b47987978dfc84e99bfdca4f5f4d6fbfa9 (diff)
automatic import of httpd
Diffstat (limited to 'manual.conf')
-rw-r--r--manual.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/manual.conf b/manual.conf
new file mode 100644
index 0000000..133652b
--- /dev/null
+++ b/manual.conf
@@ -0,0 +1,13 @@
+#
+# This configuration file allows the manual to be accessed at
+# http://localhost/manual/
+#
+Alias /manual /usr/share/httpd/manual
+
+<Directory "/usr/share/httpd/manual">
+ Options Indexes
+ AllowOverride None
+ Require all granted
+
+ RedirectMatch 301 ^/manual/(?:da|de|en|es|fr|ja|ko|pt-br|ru|tr|zh-cn)(/.*)$ "/manual$1"
+</Directory>