Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(973)

Unified Diff: third_party/apache-win32/conf/original/extra/httpd-manual.conf

Issue 147313008: Check Win32 Apache+PHP into third_party (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/apache-win32/conf/original/extra/httpd-manual.conf
diff --git a/third_party/apache-win32/conf/original/extra/httpd-manual.conf b/third_party/apache-win32/conf/original/extra/httpd-manual.conf
new file mode 100644
index 0000000000000000000000000000000000000000..095d58bd0c6593b12ccacb3c2d1fb4be1b8568da
--- /dev/null
+++ b/third_party/apache-win32/conf/original/extra/httpd-manual.conf
@@ -0,0 +1,31 @@
+#
+# Provide access to the documentation on your server as
+# http://yourserver./manual/
+# The documentation is always available at
+# http://httpd.apache.org/docs/2.2/
+#
+# Required modules: mod_alias, mod_setenvif, mod_negotiation
+#
+
+AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru|tr))?(/.*)?$ "D:/src/httpd/manual$1"
+
+<Directory "D:/src/httpd/manual">
+ Options Indexes
+ AllowOverride None
+ Order allow,deny
+ Allow from all
+
+ <Files *.html>
+ SetHandler type-map
+ </Files>
+ # .tr is text/troff in mime.types!
+ <Files *.html.tr.utf8>
+ ForceType text/html
+ </Files>
+
+ SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|pt-br|ru|tr)/ prefer-language=$1
+ RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|pt-br|ru|tr)){2,}(/.*)?$ /manual/$1$2
+
+ LanguagePriority en de es fr ja ko pt-br ru tr
+ ForceLanguagePriority Prefer Fallback
+</Directory>

Powered by Google App Engine
This is Rietveld 408576698