/bin -- for single user mode /boot -- for boot time /dev -- device special files /etc -- system-wide configs /opt -- add-on packages /home -- users /sbin -- system binaries /lib -- for /bin /media -- media mounts /mnt -- temporary mounts /proc -- proc filesystem /tmp -- temporary files, per process /usr -- read-only user data /usr/bin -- master binaries /usr/lib -- libraries /usr/local -- host local data /var -- variable files, always changing /var/log -- logs /var/run -- for running procs, user info /var/tmp -- will survive reboots /var/cache -- caches
/bin, /usr/bin, /usr/local/bin -- programs to run /etc -- system-wide configs /home -- users /proc -- proc filesystem /tmp, /var/tmp -- temporary files, per process /var/log -- logs /var/run -- for running procs, user info /opt -- add-on application software
ServerRoot :: /etc/httpd Primary Config Fle :: /etc/httpd/conf/httpd.conf Other Config Files :: /etc/httpd/conf.d Module Locations :: /usr/lib/httpd/modules DocumentRoot :: /var/www/html ErrorLog :: /var/log/httpd/error_log AccessLog :: /var/log/httpd/access_log cgi-bin :: /var/www/cgi-bin (empty and disabled by default) binary :: /usr/sbin/httpd runtime directory :: /etc/httpd/run start/stop :: /sbin/service httpd {start|stop|...}
ServerRoot :: /etc/apache2 DocumentRoot :: /var/www Apache Config Files :: /etc/apache2/apache2.conf :: /etc/apache2/ports.conf Default VHost Config :: /etc/apache2/sites-available/default :: /etc/apache2/sites-enabled/000-default Module Locations :: /etc/apache2/mods-available :: /etc/apache2/mods-enabled ErrorLog :: /var/log/apache2/error.log AccessLog :: /var/log/apache2/access.log cgi-bin :: /usr/lib/cgi-bin binaries (apachectl) :: /usr/sbin start/stop :: /etc/init.d/apache2 {start|stop|...}
a2ensite/a2dissite: /etc/apache2/sites-available /etc/apache2/sites-enabled a2enmod/a2dismod: /etc/apache2/modules-available /etc/apache2/modules-enabled
SELECT id FROM users WHERE password=PASSWORD("$password") and username="$username"; http://login.com/?username='bob" or 1=1' SELECT id FROM users WHERE password=PASSWORD("MypaSS3cret") and username="bob"; http://login.com/?username='bob" or 1=1' SELECT id FROM users WHERE password=PASSWORD("MypaSS3cret") and username="bob" or 1=1;