On 17/10/2003, at 12:23, Alan Lord wrote:
Sorry to be a pain but I can't seem to get my manual to "work" after sucessfully installing apache.
I moved the manual to htdocs/manuals/apache/
You cannot just move the manual directory without adjusting your configuration (httpd.conf) since the documentation for Apache 2.0 depends on some special configuration directives to deal with all the available languages. Have a look at the example below. You'll have to adjust the locations and paths in the AliasMatch, Directory, SetEnvIf and RedirectMatch directives to match your new locations:
#
# This should be changed to the ServerRoot/manual/. The alias provides
# the manual, even if you choose to move your DocumentRoot. You may
# comment this out if you do not care for the documentation.
#
AliasMatch ^/manuals/apache/manual(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$ "/path/to/your/manual/directory$1"
<Directory "/path/to/your/manual/directory"> Options Indexes AllowOverride None Order allow,deny Allow from all
<Files *.html> SetHandler type-map </Files>
SetEnvIf Request_URI ^/manuals/apache/manual/(de|en|fr|ja|ko|ru)/ prefer-language=$1
RedirectMatch 301 ^/manuals/apache/manual(?:/(de|en|fr|ja|ko|ru)){2,}(/.*)?$ /manuals/apache/manual/$1$2
</Directory>
Hope this helps.
Cheers, Erik
To the docs folks: fwiw but we should have documented this change better... nearly the same question hit me three times this week and I suspect I'm not the only one ;)
and now it doesn't want to add ".en" to all my requests. So I just get some
references at the top of each page like this:
===============================================Top of Browser
Window====================================
URI: directive-dict.html.en Content-Language: en Content-type: text/html;
charset=ISO-8859-1 URI: directive-dict.html.ja.jis Content-Language: ja
Content-type: text/html; charset=ISO-2022-JP URI:
directive-dict.html.ko.euc-kr Content-Language: ko Content-type: text/html;
charset=EUC-KR
===============================================End===================== =====
========================
URL was:
http://192.168.1.10/manuals/apache/manual/mod/directive- dict.html#Descriptio
n
I've re-extracted my source and copied "cp -a" all of .../doc/docroot and
.../doc/manual to the right places but it still does the same thing.
How can I fix this please?
Thanks
Al
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]