phpMyAdmin, lighttpd and Fedora 9
This puts the phpMyAdmin install in
.
Add a new configuration file called
:
# Ensure the modules we need are loaded in
server.modules += ( “mod_cgi” )
# server.modules += ( “mod_alias”, “mod_cgi” )
$HTTP["host"] == “phpmyadmin.example.com” {
var.root = “/usr/share/phpMyAdmin”
server.document-root = var.root + “/”
# This is regular (slow) straight CGI
$HTTP["url"] =~ “^/” {
# alias.url += ( “/” => server.document-root )
cgi.assign = ( “.php” => “/usr/bin/php-cgi” )
}
}
and include it into the standard
by appended :
Finally, since the phpMyAdmin install expects Apache to be used as the web server, all of the session folders are permissioned for Apache. If one ‘chown’s them, then ‘yum update’s will potentially break things in the future. A more sensible solution is to add lighttpd to the apache group :
Now,
, and then the phpMyAdmin webpage (with two frames) should be at :
.
Obviously, update ‘example.com’ for your own hostname.