i have installed kaltura ce 5 on a debian wheezy server, took me a week (im not any good in it). the start page is working but the admin_console has path errors in the script-includes. it adds index.php to the path and apache returns index.php instead of the css. it might be $this->baseURL() or a wrong rewrite or what ever. in my apache access log there ist a error because index.php is returned. please help?
script-include:
//media.youcare.ch/admin_console/index.php/css/jquery-ui/smoothness/jquery-ui-1.7.2.custom.css
my_kaltura.conf:
<VirtualHost 91.214.170.91:80>
ServerAdmin webmaster@test.youcare.ch
ServerName media.youcare.ch
ServerAlias vu2010sub5.aowen.vserver.softronics.ch
ProxyTimeout 30
DocumentRoot /usr/local/kaltura/app/alpha/web
Alias /errors /var/www/virtual/youcare.ch/errors/
#LogLevel error
ErrorLog "/usr/local/kaltura/log/kaltura_apache_errors.log"
CustomLog /usr/local/kaltura/log/kaltura_apache_access.log vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %b %T/%D \"%{Referer}i\" \"%{User-Agent}i\" \"%{uv}C\" %a \"%{X-Kaltura}o\" \"%{HOST}i\"" vhost_combined
DirectoryIndex index.html
SuexecUserGroup vu2010 vu2010
## PHP directives #################
php_value display_errors 0
php_value memory_limit 128M
php_value max_execution_time 60
php_value post_max_size 2024M
php_value upload_max_filesize 2000M
php_value variables_order EGPCS
php_value request_order EGPCS
php_flag magic_quotes_gpc off
###################################
DeflateFilterNote Ratio ratio
DeflateCompressionLevel 9
FilterDeclare COMPRESS
FilterProvider COMPRESS DEFLATE resp=Content-Type $text
FilterProvider COMPRESS DEFLATE resp=Content-Type $application/x-javascript
FilterProvider COMPRESS DEFLATE resp=Content-Type $application/.*xml.*
FilterProvider COMPRESS DEFLATE resp=Content-Type $image/svg+xml
FilterChain COMPRESS
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
RewriteRule ^/([a-zA-Z0-9]+[^/])$ /index.php/$1 [PT]
</IfModule>
Alias /sf "/usr/local/kaltura/app/symfony-data/web/sf/"
<Directory â/usr/local/kaltura/app/alpha/webâ>
# set caching for static files such as crossdomain.xml
<FilesMatch â.(xml|flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4)$â>
ExpiresActive On
ExpiresDefault "access plus 3 month"
Header append Cache-Control "public"
SetEnv force-no-vary
Header unset ETag
FileETag None
# IE8 download compatiblity
Header set X-UA-Compatible "IE=EmulateIE7"
DirectoryIndex index.php
RedirectMatch permanent ^/index.php/index.php/(.+?)$ /index.php/$1
RedirectMatch permanent ^/index.php/index/s/UT/I/(.+?)$ /index.php?s=UT\&I=$1
RedirectMatch permanent ^/id/(.+?)/?$ /index.php/browse?kshow_id=$1
RewriteEngine on
# redirect kmc.kaltura.com to kaltura's kmc
RewriteCond %{HTTP_HOST} kmc.media.youcare.ch
RewriteRule .* http://media.youcare.ch/index.php/kmc
# redirect root to start page
RewriteRule ^$ http://media.youcare.ch/start/index.php
# redirect flash file with swfparams parameters to the bare flash file
RewriteRule ^(.*)/swfparams/(.*) /$1
RewriteRule ^p/[0-9]+/sp/[0-9]+/thumbnail/(.*)$ /index.php/extwidget/thumbnail/$1 [L]
RewriteRule ^p/[0-9]+/thumbnail/(.*)$ /index.php/extwidget/thumbnail/$1 [L]
RewriteRule ^p/[0-9]+/sp/[0-9]+/raw/(.*)$ /index.php/extwidget/raw/$1 [L]
RewriteRule ^p/[0-9]+/raw/(.*)$ /index.php/extwidget/raw/$1 [L]
RewriteRule ^p/[0-9]+/sp/[0-9]+/download/(.*)$ index.php/extwidget/download/$1 [L]
RewriteRule ^p/[0-9]+/download/(.*)$ index.php/extwidget/download/$1 [L]
RewriteRule ^index.php/downloadUrl(.*)$ /index.php/extwidget/downloadUrl/$1 [L]
RewriteRule ^downloadUrl(.*)$ /index.php/extwidget/downloadUrl/$1 [L]
RewriteRule ^entryPage(.*)$ /index.php/extwidget/entryPage/$1 [L]
RewriteRule ^userPage(.*)$ /index.php/extwidget/userPage/$1 [L]
RewriteRule ^p/[0-9]+/sp/[0-9]+/flvclipper/(.*)$ /index.php/keditorservices/flvclipper/$1 [L]
RewriteRule ^p/[0-9]+/flvclipper/(.*)$ /index.php/keditorservices/flvclipper/$1 [L]
RewriteRule ^flvclipper/(.*)$ /index.php/keditorservices/flvclipper/$1 [L]
RewriteRule ^s/p/[0-9]+/sp/[0-9]+/flvclipper/(.*)$ /index.php/keditorservices/flvclipper/$1 [L]
RewriteRule ^s/p/[0-9]+/flvclipper/(.*)$ /index.php/keditorservices/flvclipper/$1 [L]
RewriteRule ^s/flvclipper/(.*)$ /index.php/keditorservices/flvclipper/$1 [L]
RewriteRule ^p/[0-9]+/sp/[0-9]+/flv/(.*)$ /index.php/flv/$1 [L]
RewriteRule ^p/[0-9]+/flv/(.*)$ /index.php/flv/$1 [L]
RewriteRule ^p/[0-9]+/sp/[0-9]+/playManifest/(.*)$ /index.php/extwidget/playManifest/$1 [L]
RewriteRule ^p/[0-9]+/sp/[0-9]+/serveFlavor/(.*)$ /index.php/extwidget/serveFlavor/$1 [L]
RewriteRule ^p/[0-9]+/sp/[0-9]+/serveIsm/(.*)$ /index.php/extwidget/serveIsm/$1 [L]
RewriteRule ^p/[0-9]+/sp/[0-9]+/embedIframe/(.*)$ /index.php/extwidget/embedIframe/$1 [L]
RewriteRule ^p/[0-9]+/sp/[0-9]+/embedIframeJs/(.*)$ /index.php/extwidget/embedIframeJs/$1 [L]
RewriteRule ^s/p/[0-9]+/sp/[0-9]+/playManifest/(.*)$ /index.php/extwidget/playManifest/$1 [L]
RewriteRule ^s/p/[0-9]+/sp/[0-9]+/serveFlavor/(.*)$ /index.php/extwidget/serveFlavor/$1 [L]
RewriteRule ^s/p/[0-9]+/sp/[0-9]+/embedIframe/(.*)$ /index.php/extwidget/embedIframe/$1 [L]
RewriteRule ^s/p/[0-9]+/sp/[0-9]+/embedIframeJs/(.*)$ /index.php/extwidget/embedIframeJs/$1 [L]
RewriteRule ^p/[0-9]+/playManifest/(.*)$ /index.php/extwidget/playManifest/$1 [L]
RewriteRule ^p/[0-9]+/serveFlavor/(.*)$ /index.php/extwidget/serveFlavor/$1 [L]
RewriteRule ^p/[0-9]+/embedIframe/(.*)$ /index.php/extwidget/embedIframe/$1 [L]
RewriteRule ^p/[0-9]+/embedIframeJs/(.*)$ /index.php/extwidget/embedIframeJs/$1 [L]
RewriteRule ^s/p/[0-9]+/playManifest/(.*)$ /index.php/extwidget/playManifest/$1 [L]
RewriteRule ^s/p/[0-9]+/serveFlavor/(.*)$ /index.php/extwidget/serveFlavor/$1 [L]
RewriteRule ^s/p/[0-9]+/embedIframe/(.*)$ /index.php/extwidget/embedIframe/$1 [L]
RewriteRule ^s/p/[0-9]+/embedIframeJs/(.*)$ /index.php/extwidget/embedIframeJs/$1 [L]
RewriteRule ^p/[0-9]+/sp/[0-9]+/kpreloader/(.*)$ /index.php/extwidget/kpreloader/$1 [L]
RewriteRule ^p/[0-9]+/kpreloader/(.*)$ /index.php/extwidget/kpreloader/$1 [L]
RewriteRule ^kpreloader/(.*)$ /index.php/extwidget/kpreloader/$1 [L]
RewriteRule ^p/[0-9]+/sp/[0-9]+/swf/(.*)$ /swf/$1 [L]
RewriteRule ^p/[0-9]+/swf/(.*)$ /swf/$1 [L]
RewriteRule ^p/[0-9]+/sp/[0-9]+/flash/(.*)$ /flash/$1 [L]
RewriteRule ^p/[0-9]+/flash/(.*)$ /flash/$1 [L]
RewriteRule ^kwidget/(.*)$ /index.php/extwidget/kwidget/$1 [L]
RewriteRule ^kcw/(.*)$ /index.php/extwidget/kcw/$1 [L]
RewriteRule ^kse/(.*)$ /index.php/extwidget/kse/$1 [L]
RewriteRule ^kae/(.*)$ /index.php/extwidget/kae/$1 [L]
RewriteRule ^kupload/(.*)$ /index.php/extwidget/kupload/$1 [L]
RewriteRule ^krecord/(.*)$ /index.php/extwidget/krecord/$1 [L]
RewriteRule ^kgeneric/(.*)$ /index.php/extwidget/kgeneric/$1 [L]
RewriteRule ^api/(.*)$ /index.php/partnerservices2/$1 [L]
RewriteRule ^p/[0-9]+/content/(.*)$ /content/$1 [L]
RewriteRule ^p/[0-9]+/sp/[0-9]+/content/(.*)$ /content/$1 [L]
RewriteRule ^extservices/(.*)$ /index.php/extservices/$1 [L]
# redirect collectstats to alive.html
RewriteRule ^(.*)/collectstats /alive.html [L]
# rewrite rule for an errornous url from myspace - fetch a 1-pixel.gif
RewriteRule ^(.*)entry/widget/(.*) /images/blank_one_pixel.gif [L]
# rewrite rules for old links
RewriteRule ^swf/(.*)$ OLD_PATHS/web/swf/$1 [L]
RewriteRule ^simpleswf/(.*)$ OLD_PATHS/web/simpleswf/$1 [L]
RewriteRule ^images/(.*)$ OLD_PATHS/web/images/$1 [L]
RewriteRule ^js/(.*)$ OLD_PATHS/web/js/$1 [L]
RewriteRule ^css/(.*)$ OLD_PATHS/web/css/$1 [L]
RewriteCond %{QUERY_STRING} service=stats&action=collect
RewriteRule api_v3/index.php /alive.html [L]
RedirectMatch permanent ^/tiny/([0-9a-z]{4})$ /api_v3/index.php?service=shortLink_shortLink\&action=goto\&id=$1
Options FollowSymLinks ExecCGI Includes
FCGIWrapper /var/www/fcgi/media/php5-fcgid-starter
AllowOverride None
Allow from all
#Alias /admin_console/index.php/css â/usr/local/kaltura/app/admin_console/web/cssâ
#Alias /admin_console/index.php/js â/usr/local/kaltura/app/admin_console/web/jsâ
#Alias /admin_console/index.php/ext â/usr/local/kaltura/app/admin_console/web/extâ
#Alias /admin_console/index.php/images â/usr/local/kaltura/app/admin_console/web/imagesâ
Alias /admin_console â/usr/local/kaltura/app/admin_console/webâ
<Directory â/usr/local/kaltura/app/admin_console/webâ>
DirectoryIndex index.php
Options ExecCGI Indexes FollowSymLinks Includes
AllowOverride All
Order allow,deny
Allow from all
FCGIWrapper /var/www/fcgi/media/php5-fcgid-starter
Alias /api_v3 â/usr/local/kaltura/app/api_v3/webâ
<Directory â/usr/local/kaltura/app//api_v3/webâ>
DirectoryIndex index.php
Options ExecCGI Indexes FollowSymLinks Includes
AllowOverride All
Order allow,deny
Allow from all
RedirectMatch permanent ^/api_v3/service/(.*)$ /api_v3/index.php/service/$1
FCGIWrapper /var/www/fcgi/media/php5-fcgid-starter
Alias /start â/usr/local/kaltura/app/startâ
<Directory â/usr/local/kaltura/app/startâ>
DirectoryIndex index.php
Options ExecCGI Indexes FollowSymLinks Includes
AllowOverride All
Order allow,deny
Allow from all
FCGIWrapper /var/www/fcgi/media/php5-fcgid-starter
############# OLD_PATHS #########################
Alias /OLD_PATHS â/usr/local/kaltura/app/OLD_PATHSâ
<Directory â/usr/local/kaltura/app/OLD_PATHSâ>
DirectoryIndex index.php
ExpiresActive On
ExpiresDefault "access plus 1 week"
Header unset ETag
FileETag None
Header unset Vary
AllowOverride None
Allow from all
#FCGIWrapper /var/www/fcgi/media/php5-fcgid-starter
<Directory â/usr/local/kaltura/app/OLD_PATHS/web/cssâ>
SetOutputFilter DEFLATE
AllowOverride None
Allow from all
##########################
Alias /content/uiconf â/usr/local/kaltura/web/content/uiconfâ
<Directory â/usr/local/kaltura/web/content/uiconfâ>
AddHandler cgi-script .php .pl .py .jsp .asp .htm .shtml .sh .cgi
Options -ExecCGI
SetEnv force-no-vary
ExpiresActive On
ExpiresDefault "access plus 3 month"
Header unset ETag
AllowOverride None
Allow from all
Alias /content â/usr/local/kaltura/web/contentâ
<Directory â/usr/local/kaltura/web/contentâ>
AddHandler cgi-script .php .pl .py .jsp .asp .htm .shtml .sh .cgi
Options -ExecCGI
SetEnv force-no-vary
ExpiresActive On
ExpiresDefault "access plus 3 month"
Header unset ETag
# rewrite rule for an errornous url from myspace - fetch a 1-pixel.gif
RewriteRule ^(.*)entry/widget/(.*) /images/blank_one_pixel.gif [L]
AllowOverride None
Allow from all
Alias /flash â/usr/local/kaltura/web/flashâ
<Directory â/usr/local/kaltura/web/flashâ>
AddHandler cgi-script .php .pl .py .jsp .asp .htm .shtml .sh .cgi
Options -ExecCGI
SetEnv force-no-vary
ExpiresActive On
ExpiresDefault "access plus 3 month"
Header unset ETag
FileETag None
AllowOverride None
Allow from all
Alias /html5 â/usr/local/kaltura/html5â
<Directory â/usr/local/kaltura/html5â>
DirectoryIndex index.php
Options ExecCGI -Indexes FollowSymLinks Includes
AllowOverride None
Order allow,deny
Allow from all
FCGIWrapper /var/www/fcgi/media/php5-fcgid-starter
Alias /apps â/usr/local/kaltura/appsâ
<Directory â/usr/local/kaltura/appsâ>
DirectoryIndex index.php
Options ExecCGI -Indexes FollowSymLinks Includes
AllowOverride None
Order allow,deny
Allow from all
FCGIWrapper /var/www/fcgi/media/php5-fcgid-starter
MMapFile /usr/local/kaltura/app/alpha/web/crossdomain.xml
MMapFile /usr/local/kaltura/app/alpha/web/alive.html
Header set X-Me âmedia.youcare.châ