Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.
Please keep in mind:
zerank said:Ouch, I think I made a big mistake... My server runs lighttpd, not apache. I guess there is no way to work around this, is it?
PHP 5.2.6
lighttpd 1.4.20
clsdesign said:You´ve got mail.
Btw, local installation on mamp works fine and i love it 🙂
define('__RELATIVE_ROOT__', str_ireplace($_SERVER['DOCUMENT_ROOT'], '', __ROOT_DIR__));
define('__RELATIVE_ROOT__', str_ireplace($_SERVER['DOCUMENT_ROOT'], '/', __ROOT_DIR__));
zerank said:I was thinking about a mixed installation of lighttpd + apache, like this:
http://www.tail-f.com.ar/servicios/httpd/instalar-lighttpd-apache-22-en-linux.html
If that's possible. I assume you can make chevereto work with apache even if it's listening on another port?
However, if you can be more specific about how to get htaccess and mod_rewrite working on other webservers (and if itsn't harder than installing apache from scratch 😀 ) that would really be of help.
Thank you.
zerank said:As I said here:
http://chevereto.com/forums/post4773.html#p4773
I switched to Apache because I was unable to make it work on lighttpd (still thought it was a .httaccess & mod_rewrite thing) but I'm still getting the same error, so I think it might be the same problem clsdesign had.
I'm sending you my FTP data so that you can fix it the same way you did to him, but I would please love to know what it is because I'm just testing Chevereto in this domain and I will eventually install it somewhere else.
Thank you.
define('__RELATIVE_ROOT__', str_ireplace($_SERVER['DOCUMENT_ROOT'], '', __ROOT_DIR__));
define('__RELATIVE_ROOT__', str_ireplace(rtrim($_SERVER['DOCUMENT_ROOT'], '/'), '', __ROOT_DIR__));