Closed Markyb0y closed 11 years ago
Hi, You may have a llok on lighttpd rewrite module: http://redmine.lighttpd.net/projects/1/wiki/Docs_ModRewrite But the best way is maybe to use the embed Plex web client: i had started this project before they publish it, but now, i dont think it is still usefull...
I had already looked there but cannot see how to rewrite the existing rules in a lighttpd format
as for not being useful, it is VERY useful
the Plex Web client still doesnt have any way to download/sync locally from a shared library, meaning if I am away from home I can only stream and that is not always practical, whereas your app does allow this, so myself and a friend have shared libraries but we use your app to allow us to watch each others stuff locally if away from home
I have found this, but cannot test it:
url.rewrite-once = (
".*\?(.*)$" => "/index.php?$1",
".*\.(js|ico|gif|jpg|png||css)$" => "$0",
"" => "/index.php"
)
Still the same I am afraid
maybe if you can explain what the 4 lines in the .htaccess file do I can find an equivalent?
Those lines are rewriting the Uri in order to skip the need of index.php. (ie: http://exampe.com/index.php/artists) You can remove the rewrite rules, and set in app/config/config.php:
'index_file' => 'index.php'
Hi,
still not working I am afraid, if adding 'index_file' => 'index.php' should ignore all rewrite rules than maybe it isnt the rewrite rules that are the problem?
any other ideas?
just for future reference, the issue was the version of pcre that was installed, it was a non UTF-8 version, once I manually updated it to a UTF-8 it all magically started working!
thanks again
Hi,
I had Plex-Over running on OSX without issue, I have recently moved all my Plex setup to Unraid so I need to reinstall on my Unraid box as you state it needs to be run locally
I have added a webserver to my unraid box which works fine with standard html files etc but I cannot even get to the login window when I try and access the app
I see this error ErrorException [ Warning ]: preg_replace(): Compilation failed: unknown option bit(s) set at offset 0 COREPATH/classes/route.php @ line 112 which is... return pregreplace('#(?<![[):([a-z]+)(?!:]])#uD', '(?P<$1>.+?)', $search);
I assume this relates the the rewrite rules?
the webserver is lighttpd
any idea what url rewrite rules I can use to resolve this?
thanks for the great app