Bug 101015

Summary: httpd.conf needs to be modified due to changes in httpd manual
Product: [Retired] Red Hat Raw Hide Reporter: Need Real Name <alietss>
Component: httpdAssignee: Joe Orton <jorton>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.0.47-6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-01-05 22:33:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 100644    

Description Need Real Name 2003-07-28 15:55:35 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.2.1) Gecko/20030225

Description of problem:
Hi people:
I'm testing the httpd rawhide release, since httpd-2.0.47 the httpd manual has
changed a bit so the httpd.conf file needs to be modified in a way the manual
works, here a patch that fix this to the httpd.conf of the source of srpm...

--- httpd.conf-orig	2003-05-18 14:37:22.000000000 -0400
+++ httpd.conf	2003-07-28 11:11:14.000000000 -0400
@@ -562,13 +562,25 @@
 # the manual, even if you choose to move your DocumentRoot.  You may comment
 # this out if you do not care for the documentation.
 #
-Alias /manual "/var/www/manual"
+AliasMatch ^/manual(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$ "/var/www/manual$1"
 
 <Directory "/var/www/manual">
-    Options Indexes FollowSymLinks MultiViews
+    Options Indexes
     AllowOverride None
     Order allow,deny
     Allow from all
+
+    <Files *.html>
+        SetHandler type-map
+    </Files>
+
+    SetEnvIf Request_URI ^/manual/de/ prefer-language=de
+    SetEnvIf Request_URI ^/manual/en/ prefer-language=en
+    SetEnvIf Request_URI ^/manual/fr/ prefer-language=fr
+    SetEnvIf Request_URI ^/manual/ja/ prefer-language=ja
+    SetEnvIf Request_URI ^/manual/ko/ prefer-language=ko
+    SetEnvIf Request_URI ^/manual/ru/ prefer-language=ru
+    RedirectMatch 301 ^/manual(?:/(de|en|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2
 </Directory>
 
 <IfModule mod_dav_fs.c>

Version-Release number of selected component (if applicable):
httpd-2.0.47-3

How reproducible:
Always

Steps to Reproduce:
1.Install the httpd-manual
2.
3.
    

Actual Results:  The manual don't display correctly the html pages

Additional info:

Comment 1 Pekka Savola 2003-08-07 12:23:36 UTC
Is this in the httpd upstream config file?  If not, please push it there first?

Comment 2 Joe Orton 2003-08-29 14:35:53 UTC
Yes that fragment is from the upstream config IIRC.

Comment 3 Joe Orton 2003-09-08 15:22:30 UTC
Thanks for the report and patch, applied in 2.0.47-6.