Считаете, что Ubuntu недостаточно дружелюбна к новичкам? Помогите создать новое Руководство для новичков!
0 Пользователей и 1 Гость просматривают эту тему.
grep -v "^$\|^#" /etc/lighttpd/lighttpd.conf
server.modules = ( "mod_access", "mod_alias", "mod_accesslog", "mod_compress",)server.document-root = "/var/www/"server.upload-dirs = ( "/var/cache/lighttpd/uploads" )server.errorlog = "/var/log/lighttpd/error.log"index-file.names = ( "index.php", "index.html", "index.htm", "default.htm", "index.lighttpd.html" )accesslog.filename = "/var/log/lighttpd/access.log"url.access-deny = ( "~", ".inc" )static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )server.pid-file = "/var/run/lighttpd.pid"dir-listing.encoding = "utf-8"server.dir-listing = "enable"server.username = "www-data"server.groupname = "www-data"compress.cache-dir = "/var/cache/lighttpd/compress/"compress.filetype = ("text/plain", "text/html", "application/x-javascript", "text/css")include_shell "/usr/share/lighttpd/create-mime.assign.pl"include_shell "/usr/share/lighttpd/include-conf-enabled.pl"$HTTP["remoteip"] !~ "192.168.1.254|127.0.0.1" { url.access-deny = ( "" ) }$HTTP["remoteip"] =~ "127.0.0.1" { alias.url += ( "/doc/" => "/usr/share/doc/", "/images/" => "/usr/share/images/" ) $HTTP["url"] =~ "^/doc/|^/images/" { dir-listing.activate = "enable" }}
ls -l /var/www/squid-reports/Daily/
root@fuckingu1-gw:/home/fuckingu1# ls -l /var/www/squid-reports/Daily/итого 24drwxr-xr-x 19 root root 4096 2012-05-02 18:00 2012May02-2012May02drwxr-xr-x 20 root root 4096 2012-05-03 18:00 2012May03-2012May03drwxr-xr-x 24 root root 4096 2012-05-04 16:00 2012May04-2012May04drwxr-xr-x 2 root root 4096 2012-05-02 17:26 images-rw-r--r-- 1 root root 4654 2012-05-04 16:00 index.html
Страница сгенерирована за 0.048 секунд. Запросов: 25.