RSS

Tag Archive | "lighttpd"

Installing PHPLdapAdmin To Manage Your Ldap Server

Friday, July 3, 2009

0 Comments

I will be using lighttpd as the httpd apt-get install lighttpd php5-cgi php5-ldap php5-mhash Install PHPLdapAdmin apt-get install phpldapadmin Move your lighttpd.conf to lighttpd.conf.bak cd /etc/lighttpd mv lighttpd.conf lighttpd.conf.bak Then download this lighttpd.conf and restart lighttpd wget tuts4tech.net/files/lighttpd.conf /etc/init.d/lighttpd restart You should now be able to login to PHPLdapAdmin at http://server-ip:9090

Continue reading...

Finding out what httpd a website uses

Saturday, June 20, 2009

0 Comments

Have you ever wanted to know what httpd a website is using but didn't know how? this tutorial will be able to show you. You can simply find out the httpd by viewing the servers header. To view the headers we need curl you can install it by running the following command apt-get install curl Then we [...]

Continue reading...

Lighttpd virtual hosting

Saturday, June 13, 2009

0 Comments

Virtual hosting allows you to host many websites from one server. Setup The Folders and users adduser domain1 addgroup domain1 adduser www-data domain1 mkdir -p /home/domain1 chown domain1:domain1 -R /home/domain1 chmod 750 -R /home/domain1 adduser domain2 addgroup domain2 adduser www-data domain2 mkdir -p /home/domain2 chown domain2:domain2 -R /home/domain2 chmod 750 -R /home/domain2 Lighttpd Config Open your lighttpd.conf nano /etc/lighttpd.conf Add the following for the virtual host configuration $HTTP["host"] == "domain1.com" { server.document-root = "/home/domain1" accesslog.filename [...]

Continue reading...

Lighttpd On Windows

Monday, April 6, 2009

0 Comments

Setting Up Lighttpd Download the lighttpd setup file from here. I chose the Setup Wizard (.exe) version. Double-click on the downloaded executable to start the installation. When the installation is done go to your lighttpd directory(by default its C:\program files\lighttpd) and run TestMode.bat A console window should open to indicate the server is started. Go to http://localhost this should [...]

Continue reading...