apache: encoding "kineziko" soni kai kala
Korabos Giorgos
korabos at yahoo.com
Fri Jan 31 19:08:01 EET 2003
Se mixanima me Debian 3.0, o Apache kanei oti thelei:
Tis ellinikes selides (.html) tis stelnei me asxeto
encoding ston client (px explorer). Fisika an apo ton
explorer epilekso encoding->greek, fenete ok. Alla an
ksanafortoso tin idia selida pali kinezika bgenoun.
Den einai thema html a) ta exo dokimasei ola, b)
dokimasa tis idies selides se allo server kai fenonte
ok.
Dokimasa ston apache na allakso to httpd.conf bazontas
priority sta ellinika:
LoadModule negotiation_module
modules/mod_negotiation.so
AddLanguage el .el
AddLanguage en .en
...
LanguagePriority el en
pali kamia diafora. An exete kamia idea...
efprosdekti!
akolouthei meros tou /server-info
Apache Server InformationServer Settings,
mod_setenvif.c, mod_unique_id.c, mod_expires.c,
mod_auth.c, mod_access.c, mod_rewrite.c, mod_alias.c,
mod_userdir.c, mod_cgi.c, mod_dir.c, mod_autoindex.c,
mod_info.c, mod_status.c, mod_negotiation.c,
mod_mime.c, mod_mime_magic.c, mod_log_config.c,
mod_macro.c, mod_so.c, http_core.c
Server Version: Apache/1.3.26 (Unix) Debian GNU/Linux
Server Built: Oct 26 2002 09:15:15
API Version: 19990320:13
Run Mode: standalone
User/Group: www-data(33)/33
Daemons: start: 5 min idle: 5 max idle: 10
max: 150
Max Requests: per child: 100 keep alive: on max
per connection: 100
Threads: per child: 0
Excess requests: per child: 0
Timeouts: connection: 300 keep-alive: 15
Server Root: /etc/apache
Config File: /etc/apache/httpd.conf
PID File: /var/run/apache.pid
Scoreboard File: /var/run/apache.scoreboard
Module Name: mod_negotiation.c
Content handlers: application/x-type-map , type-map
Configuration Phase Participation: Create Directory
Config, Merge Directory Configs
Request Phase Participation: Check Type, Fixups
Module Directives:
CacheNegotiatedDocs - no arguments (either present or
absent)
LanguagePriority - space-delimited list of MIME
language abbreviations
Current Configuration:
httpd.conf
LanguagePriority el en da nl et fr de it ja pl pt
pt-br ltz ca es sv
Module Name: mod_mime.c
Content handlers: none
Configuration Phase Participation: Create Directory
Config, Merge Directory Configs
Request Phase Participation: Check Type
Module Directives:
AddType - a mime type followed by one or more file
extensions
AddEncoding - an encoding (e.g., gzip), followed by
one or more file extensions
AddCharset - a charset (e.g., iso-2022-jp), followed
by one or more file extensions
AddLanguage - a language (e.g., fr), followed by one
or more file extensions
AddHandler - a handler name followed by one or more
file extensions
ForceType - a media type
RemoveHandler - one or more file extensions
RemoveEncoding - one or more file extensions
RemoveType - one or more file extensions
SetHandler - a handler name
TypesConfig - the MIME types config file
DefaultLanguage - language to use for documents with
no other language file extension
Current Configuration:
httpd.conf
TypesConfig /etc/mime.types
AddEncoding x-compress Z
AddEncoding x-gzip gz tgz
AddLanguage el .el
AddLanguage en .en
AddLanguage da .dk
AddLanguage nl .nl
AddLanguage et .ee
AddLanguage fr .fr
AddLanguage de .de
AddLanguage it .it
AddLanguage ja .ja
AddCharset ISO-2022-JP .jis
AddLanguage pl .po
AddCharset ISO-8859-2 .iso-pl
AddLanguage pt .pt
AddLanguage pt-br .pt-br
AddLanguage ltz .lu
AddLanguage ca .ca
AddLanguage es .es
AddLanguage sv .se
AddLanguage cz .cz
AddType application/x-tar .tgz
AddType image/bmp .bmp
AddType text/x-hdml .hdml
<Location /perl>
SetHandler perl-script
</Location>
<Location /server-status>
SetHandler server-status
</Location>
<Location /server-info>
SetHandler server-info
</Location>
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
More information about the Linux-greek-users
mailing list