Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i have vps. i have installed lighttpd, my conf file is on the /etc/lighttpd/lighttpd.conf

then i installed phpmyadmin using apt-get, it writes new lighttpd.conf automatically on /etc/phpmyadmin/lighttpd.conf

the weird thing is, i cant find anything on /etc/lighttpd/lighttpd.conf the syntax that related to phpmyadmin. dont get me wrong, the server is alright, just wondering how it works.

share|improve this question

migrated from stackoverflow.com Jun 29 '10 at 0:20

This question came from our site for professional and enthusiast programmers.

1 Answer 1

The postinst script of the DEB package for phpMyAdmin creates a symbolic link in /etc/lighttpd/conf-available/ (and /etc/lighttpd/conf-enabled/) which points to /etc/phpmyadmin/lighttpd.conf.

Inside the /etc/lighttpd/lighttpd.conf the contents of /etc/lighttpd/conf-enabled/ are loaded.

share|improve this answer
    
thanks, I found the symbolic link. –  r4ccoon Jul 1 '10 at 6:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.