[plumi-discuss] [Plumi] #355: 3.0-beta2 transcode "DOWNLOAD" step broken when using Apache
Plumi
trac at plumi.org
Fri Mar 12 16:18:34 EST 2010
#355: 3.0-beta2 transcode "DOWNLOAD" step broken when using Apache
-------------------+--------------------------------------------------------
Reporter: jimby | Type: defect
Status: new | Priority: major
Milestone: | Component: Transcoding
Version: | Keywords: transcode download
-------------------+--------------------------------------------------------
Comment(by jimby):
Correction: The rewrite rules are slightly changed. Squid is not used in
this setup, so the following changes are made in the rewrite rules
configuration file:
{{{
<VirtualHost *:80>
ServerName www.bsdtv.org
RewriteEngine On
RewriteLog /usr/local/Plone/bsdtv/var/log/rewrite_bsdtv.org.log
RewriteLogLevel 2
CustomLog /usr/local/Plone/bsdtv/var/log/access_bsdtv.org.log common
ErrorLog /usr/local/Plone/bsdtv/var/log/error_bsdtv.org.log
# <Proxy http://127.0.0.1:4128>
# Allow from all
# </Proxy>
RewriteRule ^(.*)$ - [E=BACKEND_LOCATION:127.0.0.1]
RewriteRule ^(.*)$ - [E=BACKEND_PORT:8080]
RewriteRule ^(.*)$ - [E=HOST:www.bsdtv.org]
RewriteRule ^(.*)$ - [E=PORT:80]
RewriteRule ^(.*)$ - [E=PROTO:http]
RewriteRule ^(.*)$ - [E=ZOPEPATH:bsdtv]
RewriteRule ^/(.*)/$
http://%{ENV:BACKEND_LOCATION}:%{ENV:BACKEND_PORT}/VirtualHostBase/%{ENV:PROTO}/%{ENV:HOST}:%{ENV:PORT}/%{ENV:ZOPEPATH}/VirtualHostRoot/$1
[L,P]
RewriteRule ^/(.*)$
http://%{ENV:BACKEND_LOCATION}:%{ENV:BACKEND_PORT}/VirtualHostBase/%{ENV:PROTO}/%{ENV:HOST}:%{ENV:PORT}/%{ENV:ZOPEPATH}/VirtualHostRoot/$1
[L,P]
</VirtualHost>
}}}
The Proxy directive was commented out, and BACKEND_PORT was changed to
8080
--
Ticket URL: <http://plumi.org/ticket/355#comment:1>
Plumi <http://plumi.org/>
Plumi - FOSS Video Sharing Platform
More information about the Discuss
mailing list