1
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 06:03:45 +01:00

The homepage/ subdirectory should no longer be redirected on web mirrors.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28347 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2009-01-20 23:23:53 +00:00
parent 05a6ce54c9
commit 7c0e42be2b

View File

@ -160,15 +160,13 @@ Setting up a webserver
Set up Apache or whatever web server you prefer. We just have static pages,
so no fancy configuration is necessary. However, we need a few aliases so that
links on our pages work correctly. /MPlayer and /DOCS should redirect to the
directory with the downloadable files and /homepage should redirect to the
directory with the HTML pages.
directory with the downloadable files.
Here is an example stanza to paste into your Apache configuration:
<VirtualHost www#.mplayerhq.hu>
DocumentRoot /path/to/htdocs
Options FollowSymLinks Indexes
Alias /homepage /path/to/htdocs
Alias /MPlayer /path/to/MPlayer
Alias /DOCS /path/to/MPlayer/DOCS
AddDefaultCharset off
@ -177,7 +175,6 @@ Here is an example stanza to paste into your Apache configuration:
<VirtualHost www.mplayerhq.hu>
DocumentRoot /path/to/htdocs
Options FollowSymLinks Indexes
Alias /homepage /path/to/htdocs
Alias /MPlayer /path/to/MPlayer
Alias /DOCS /path/to/MPlayer/DOCS
AddDefaultCharset off
@ -205,7 +202,7 @@ both for your mirror address (www#.mplayerhq.hu) and the DNS round-robin
address (www.mplayerhq.hu):
- The virtual host is reachable by its address.
- The subdirectories MPlayer, DOCS and homepage work.
- The MPlayer and DOCS subdirectories work.
- The man pages and documentation are served with the correct content-type.
Try Russian or Chinese, you will notice breakage immediately.