Unable to use under Lighttpd
-
lux
Are you using a URL like http://localhost/ or http://127.0.0.1/ by any chance? It sounds like the cookie is failing to be set. If you check the install guide for OSX there's some info on setting up your local hosts file to create aliases like http://www.dev.lo/ to point to your local Apache or lighttpd server. Hope that helps.
-
Iván Campaña
Thanks for the help, I managed to get it running creating an alias to my computer name, even though that might be considered as a complication, I had to make some adjustements so that everything could work witch Lighttpd (I can contribute those changes so that installing it on lighttpd can be easy), now, everything seems allright except for one thing, when I go to the Add new page option or anywhere I need to be able to choose between easy and advanced mode there is a Javascript error saying :"rpc is not defined" I searched through the files and thats defined in js/rpc.js
But the code where it is trying to use that object is not including it, is that normal or is it a bug?
If I can be of any help I'll be glad to give a hand in solving problems, I've been looking for a decent replacement for joomla for long time...
-
Iván Campaña
Just in case anyone would like to give it a try on lighttpd:
You need to load this module:
"mod_rewrite" and "mod_fastcgi"I'm not going to cover how to enable php with fastcgi since it has already been done tons of times
After setting up your regular hostname alias you need to add this to your lighttpd.conf to set a virtual host:
$HTTP["host"] =~ "(^|.)yourlocaldomain.com$" {
server.document-root = "/home/User/Sites/sitellite" server.errorlog = "/home/User/Sites/error.log" accesslog.filename = "/home/User/Sites/access.log" mimetype.assign += ( ".tpl" => "text/html") fastcgi.map-extensions = ( "/index" => ".php", "/sitellite" => ".php" ) url.rewrite-once = ( "^/(index|sitellite|js|pix|docs|inc/html)/.*" => "$0", "^/([^?]*)(?:\?(.*))?" => "index?_rewrite_sticky=$1&$2" )}
I choose to use a folder inside muy User home just to make it easy to edit, the rewrite-once option is needed if you are planning to use the remove index option, so that it can redirect properly to the index page.. That's it, you get a working Sitellite installation (except for the rpc problem that I still haven't figure out)
-
Iván Campaña
Little mistake, the url rewrite should be:
url.rewrite-once = ("^/(js|pix|docs)/.*" => "$0", "^/inc/(.*).(gif|png|jpg|js|css)" => "$0", "^/([^?]*)(?:\?(.*))?" => "index?_rewrite_sticky=$1&$2" )That way we don't expose php files in the inc folder and still we get the same behavior.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.