RSS

Tag Archive | "web"

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...

Elements made easy

Monday, May 25, 2009

0 Comments

XRAY is a bookmarklet that will allow you to quickly and easily view the elements of a webpage Drag Xray to your bookmarks tab XRAY Load any webpage Click on the xray bookmark Then click on any element and it will show you all its css values

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...