[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: AskApache Intro and Mirror Update



AskApache wrote:
>
> Hi guys,
>
> I just made some fixes to the mirrors I run at:
>
>  http://tor.askapache.com/
>  http://tor.askapache.com/dist/
>
> The rsync process has been behaving so I bumped the job to every 4
> hours.  I also fixed the problems with http://tor.askapache.com/dist/
> not indexing correctly, and fixed the Content Negotiation issue on
> http://tor.askapache.com/  (My fix is below for anyone else..)
>
>
> Please add the following info for this mirror (and modify the orgName):
>
>  adminContact => "webmaster AT askapache DOT com",
>  orgName => "AskApache",
>  httpDistMirror => "http://tor.askapache.com/dist/";,
>
>
>
> This is the .htaccess file that I came up with, note I painstakingly
> determined the languages..  (In the future it would be great to get each
> corresponding charset for the AddCharset directive)
>
> Note I also added compression for basic text/ plain/ type files and
> added some simple Cache-Control through the mod_expires module.
>
>
> #######################################################################
> Options FollowSymLinks Indexes MultiViews
> Order allow,deny
> Allow from all
> SetEnv SERVER_ADMIN webmaster@xxxxxxxxxxxxx
> SetEnv TZ America/California
> DirectoryIndex index
>
>
> # German (de)
> # English (en)
> # Spanish (es)
> # Farsi (fa)
> # Suomi (fi)
> # French (fr)
> # Italian (it)
> # Japanese (ja)
> # Korean (ko)
> # Dutch (nl)
> # Norwegian (no)
> # Russian (ru)
> # Portugese (pt)
> # Polish (pl)
> # Svenska (se)
> # Turkish (tr)
> # Simplified Chinese (zh-CN)
>
> AddLanguage de .de
> AddLanguage en .en
> AddLanguage es .es
> AddLanguage fa .fa
> AddLanguage fi .fi
> AddLanguage fr .fr
> AddLanguage it .it
> AddLanguage ja .ja
> AddLanguage ko .ko
> AddLanguage nl .nl
> AddLanguage no .no
> AddLanguage pl .pl
> AddLanguage pt .pt
> AddLanguage ru .ru
> AddLanguage se .se
> AddLanguage tr .tr
> AddLanguage zh-CN .zh-cn
>
> # TODO: Get all the charsets for each lang
> AddCharset ISO-8859-1 .iso8859-1 .nl .se
> AddCharset UTF-8 .utf8
>
> AddDefaultCharset UTF-8
> DefaultType text/html
> DefaultLanguage en
>
> LanguagePriority en de es fr ja ko pt-br ru tr
> ForceLanguagePriority Prefer Fallback
>
> AddType text/html .tr
> RemoveHandler .pl
>
> <IfModule mod_deflate.c>
> AddOutputFilterByType DEFLATE text/html text/plain text/css
> AddOutputFilterByType DEFLATE text/xml application/javascript
> </IfModule>
>
> <IfModule mod_expires.c>
> ExpiresActive On
> ExpiresDefault M3600
> </IfModule>
>
>
>
> --
> AskApache
>
>
Updated in rev. 20118

Thank you for your support!
-- 
Best,

Jon


--- --- --- ---

PGP key located at http://www.nonvocalscream.com/key.txt

PGP encrypted mail preferred.

PGP Key ID: 6F19ED63

Fingerprint: 8397 9B96 6518 5A90 10CA F3C1 C653 AE86 6F19 ED63