DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21629>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21629 manual html files missing var extension after upgrade ------- Additional Comments From [EMAIL PROTECTED] 2003-07-24 15:24 ------- I wan't to serve the apache2 docs from apache1.3. I tried copying the example config into my 1.3 config, but I got 2 problems. The first was that the example uses perl extensions in its regular expressions which 1.3 cannot handle. I solved this by modifying the regexes (see below). The second problem is that the server is returning "506 Variant Also Negotiates" when I try and access /manual. Why is this? Here is the manual access part of my config... #Alias /i/manual "/usr/share/doc/apache-2.0.47/manual" # This would work, but the apache2 docs don't use MultiViews any more :-( #AliasMatch ^/i/manual(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$ "/usr/share/doc/apache- 2.0.47/manual$1" # Apache 1.3 cannot do the perl extension (?:pattern) in this regex, so turn it # into a more old fashioned regex... AliasMatch ^/i/manual(/(de|en|fr|ja|ko|ru))?(/.*)?$ "/usr/share/doc/apache- 2.0.47/manual$3" <Directory "/usr/share/doc/apache-2.0.47/manual"> Options Indexes AllowOverride None Order allow,deny Allow from 192.168.1.0/24 # The above (+MultiViews) would work, but the apache2 docs don't use MultiViews any more :-( <Files *.html> SetHandler type-map </Files> SetEnvIf Request_URI ^/i/manual/de/ prefer-language=de SetEnvIf Request_URI ^/i/manual/en/ prefer-language=en SetEnvIf Request_URI ^/i/manual/fr/ prefer-language=fr SetEnvIf Request_URI ^/i/manual/ja/ prefer-language=ja SetEnvIf Request_URI ^/i/manual/ko/ prefer-language=ko SetEnvIf Request_URI ^/i/manual/ru/ prefer-language=ru #RedirectMatch 301 ^/i/manual(?:/(de|en|fr|ja|ko|ru)){2,}(/.*)?$ /i/manual/ $1$2 # Apache 1.3 cannot do the perl extension (?:pattern) in this regex, so turn it # into a more old fashioned regex... RedirectMatch 301 ^/i/manual(/(de|en|fr|ja|ko|ru)){2,}(/.*)?$ /i/manual/$2$3 </Directory> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
