In lighttpd you can use mod_access to deny files starting with a certain expression, such as hidden dot files. (example: .htaccess or .svn)
# Deny access to hidden files
$HTTP["url"] =~ "/\." {
url.access-deny = ("")
}
Deny access to .htaccess files in lighttpdSubmitted by sandip on Sun, 06/27/2010 - 21:36In lighttpd you can use mod_access to deny files starting with a certain expression, such as hidden dot files. (example: .htaccess or .svn) # Deny access to hidden files »
Troubleshooting Memory UsageSubmitted by sandip on Wed, 06/23/2010 - 10:56(via rimuhosting.com) If you are using VPS with very limited memory resources, the link provides excellent reference material on troubleshooting memory issues with some of the know applications that can possibly consume high memory. Setting up ubuntu 10.04 (Lucid) server with squid 3 as a Transparent ProxySubmitted by david23 on Tue, 06/22/2010 - 02:10(via www.ubuntugeek.com) Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator. The best tips & tricks for bash, explainedSubmitted by sandip on Mon, 06/21/2010 - 11:19(via www.linuxtutorialblog.com) The bash shell is just amazing. There are so many tasks that can be simplified using its handy features. This tutorial tells about some of those features, explains what exactly they do and learns you how to use them. Small getopts tutorialSubmitted by sandip on Thu, 06/17/2010 - 22:51(via wiki.bash-hackers.org) When you want to parse commandline arguments in a professional way, getopts is the tool of choice. Unlike its older brother getopt (note the missing s!), it's a shell builtin command. The advantage is * you don't need to hand your positional parameters through to an external program RabbitVCS - Easy version control for LinuxSubmitted by david23 on Thu, 06/17/2010 - 10:10(via www.ubuntugeek.com) RabbitVCS is a set of graphical tools written to provide simple and straightforward access to the version control systems you use. Currently, it is integrated into the Nautilus file manager and only supports Subversion, but our goal is to incorporate other version control systems as well as other file managers. Find files that have not been accessed for a whileSubmitted by sandip on Wed, 06/09/2010 - 16:25Below one liner uses the find command to list files sorted by access time beyond the provided "number of days". find </path/to/folder> -type f -atime +<number of days> -exec ls -ultr {} \; This becomes handy if you want to do archive and cleanup of your web folders that have grown to a huge size. »
Plesk email users and passwordsSubmitted by sandip on Wed, 06/09/2010 - 14:42Below is sql, if you ever need to test out your users email accounts on plesk server: mysql> use psa »
Seven habits of effective text editingSubmitted by sandip on Tue, 06/08/2010 - 12:01(via www.moolenaar.net) If you spend a lot of time typing plain text, writing programs or HTML, you can save much of that time by using a good editor and using it effectively. This paper will present guidelines and hints for doing your work more quickly and with fewer mistakes... GNOME Commander - Nice and fast file manager for the GNOME desktopSubmitted by david23 on Thu, 06/03/2010 - 11:57(via www.ubuntugeek.com) GNOME Commander is a free two pane file manager in the tradition of Norton and Midnight Commander, it is built on the GTK-toolkit and GnomeVFS. GNOME Commander aims to fulfill the demands of more advanced users who like to focus on file management, their work through special applications and running smart commands. This program is not aimed at users wanting the weather forecast in a sidebar in their file manager. |
User loginPopular contentToday's:All time:Tag CloudApache
AWK
Bash
BlogMarks
centos
Cheatsheet
cpu
DirectAdmin
Drupal
ensim
ext3
ftp
Hosting
imap
Information Technology
ip
ispconfig
Java
Kernel
lftp
lighttpd
Linux
lvm
mail
mailq
md5
Multimedia
munin
munin-node
MySQL
Networking
oneliner
openssl
openvz
Perl
PHP
Plesk
PostgreSQL
proftpd
Programming
qmail
redhat
rpm
screen
Scripting
Security
Sendmail
site migration
spf
ssh
ssl
svn
tips
Tips and Tricks
Tipsheet
trac
Tutorials
ubuntu
upgrade
Web Development
Who's new
Who's onlineThere are currently 0 users and 4 guests online.
LinksFOSS Community: |
Recent comments
7 years 22 weeks ago
7 years 22 weeks ago
7 years 22 weeks ago
7 years 22 weeks ago
8 years 2 weeks ago
8 years 4 weeks ago
8 years 27 weeks ago
8 years 33 weeks ago
8 years 33 weeks ago
8 years 42 weeks ago