Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

webserver(1) [redhat man page]

WEBSERVER(1)							       mrtg							      WEBSERVER(1)

NAME
webserver - hints for web server configuration SYNOPSIS
If you want people to actually see the results of your network monitoring efforts you will need a webserver. This document lists some configuration hints for webservers. Contributions welcome. APACHE
Configuring mod_expire A big issue with mrtg monitoring data is the expiery time. All these nice graphs you can create are only valid for a short time. If you do not take special action some webbrowsers will not notice this and you may end up with people seeing old data because of caching issues. The apache module mod_expire allows you to setup special expiery properties for individual file. Here is an example for how this may look for an mrtg web directory. The configuration directives can be stored into a .htaccess file. ############################################################ # Example .htaccess for use with apache-1.2 and mod_expire. # (mod_expire come with apache-1.2 but you have to explicitly # activate it when compiling the httpd ...) ############################################################# # <Files "*-day.png"> ExpiresActive On # enable expirations # five minutes ExpiresDefault M300 </Files> <Files "*-week.png"> ExpiresActive On ExpiresDefault M1800 </Files> <Files "*-month.png"> ExpiresActive On ExpiresDefault M7200 </Files> <Files "*-year.png"> ExpiresActive On ExpiresDefault M86400 </Files> <Files "*.html"> ExpiresActive On ExpiresDefault M300 </Files> # index.html is not automatically generated <Files "index.html"> ExpiresActive Off </Files> AUTHOR
Unknown 3rd Berkeley Distribution 2.9.17 WEBSERVER(1)

Check Out this Related Man Page

Module::CPANTS::Kwalitee::Files(3pm)			User Contributed Perl Documentation		      Module::CPANTS::Kwalitee::Files(3pm)

NAME
Module::CPANTS::Kwalitee::Files - Check for various files SYNOPSIS
Find various files and directories that should be part of every self-respecting distribution. DESCRIPTION
Methods order Defines the order in which Kwalitee tests should be run. Returns 10, as data generated by "MCK::Files" is used by all other tests. map_filenames get db_filenames from real_filenames analyse "MCK::Files" uses "File::Find" to get a list of all files and dirs in a dist. It checks if certain crucial files are there, and does some other file-specific stuff. get_files The subroutine used by "File::Find". Unfortunantly, it depends on some global values. kwalitee_indicators Returns the Kwalitee Indicators datastructure. o extractable o extracts_nicely o has_readme o has_manifest o has_meta_yml o has_buildtool o has_changelog o no_symlinks o has_tests o has_tests_in_t_dir o buildfile_not_executabel o has_example (optional) o no_generated_file o has_version_in_each_file o no_stdin_for_prompting SEE ALSO
Module::CPANTS::Analyse AUTHOR
Thomas Klausner <https://metacpan.org/author/domm> COPYRIGHT AND LICENSE
Copyright X 2003X2006, 2009 Thomas Klausner <https://metacpan.org/author/domm> You may use and distribute this module according to the same terms that Perl is distributed under. perl v5.14.2 2012-06-08 Module::CPANTS::Kwalitee::Files(3pm)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

apache

on my webserver, and im sure many of you who also run one see this all the time, but the majority of my access log is filled with attempted exploits from computers compromised by some virus (NIMBDA?) and anyway i know this is harmless to an apache/linux webserver, but its annoying, anyway, on... (5 Replies)
Discussion started by: norsk hedensk
5 Replies

2. UNIX for Dummies Questions & Answers

Opening Files

I'm a new to UNIX/LINUX. I just put cygwin on my laptop and I can navigate around the directories, but I can't open files (.doc, .ppt, .html or .exe). Is there an explicit command to do this? I know that in Solaris when it does not recognize the file, it brings up the list of available viewing... (4 Replies)
Discussion started by: AJA
4 Replies

3. Shell Programming and Scripting

renaming Files

Renaming Files more than 1000 in Diffrent Directories in system.. help me in this issue to resolve.... (5 Replies)
Discussion started by: sunsap
5 Replies

4. UNIX for Advanced & Expert Users

Searching Files

Hi, I have a file /db01/dat/march 2006/7001DW06.03B Please note, between "march 2006" there is a space/tab. While running the following script, it identifies /db01/dat/march ----> as first file 2006/7001DW06.03B ---> as second file. SRC_PATH = /db01/dat SEARCH_FILENAME =... (12 Replies)
Discussion started by: ronald_brayan
12 Replies

5. Linux

There is anyone whu can be my MASTER, my Teacher, my Instractor and my Friend.,

Hellooo Salute to All. I am a mini poor STUDENT from a Thirldworld country for learning abt UNIX,MINIX,LINUX etc. I have not enough wisdom abt above topics. But I want to walk,run & fly in UNIX,Linux platform. But I studied in computer science degree...what i did'nt comple at all. Though i... (8 Replies)
Discussion started by: AhsanPrince
8 Replies

6. Linux

How can I move a file to a webserver every 5 minutes?

(10 Replies)
Discussion started by: Bradj47
10 Replies

7. Shell Programming and Scripting

purging of Files

Hello All, I want to delete the files based on the days. like, Files available under directory /abc want to delete if they are older than 15 days. Files available under directory /pqr want to delete if they are 7 days old and some files under directory /xyz should get deleted if they are... (5 Replies)
Discussion started by: ssachins
5 Replies

8. UNIX for Dummies Questions & Answers

Batch Renaming of Files

Hello all, thanks for your time (and this forum, what an awesome resource for newbs like myself!) Anyways, I've been given the task of importing content from a directory of about...7000 HTML files. They are all named appropriately and broken down by name depending on what book they belong too.... (8 Replies)
Discussion started by: gratefulhokie
8 Replies

9. Shell Programming and Scripting

Finding Files By Name

Finding Files - I am learning more about scripting each day but I am having a hard time figuring out how to write a script to pick particular files from a list ls command. Basically I have several hundred files with the file name being: AAB110321015704.raw or BBA110321015704.raw WHERE the... (6 Replies)
Discussion started by: rdburg
6 Replies

10. Shell Programming and Scripting

mv command to include files beginning with "." (like .htaccess)

Hi, how can I get the mv command to include files beginning with . (such as .htaccess)? Right now when I mv a directory the .htaccess file is missing and I need to do this on a lot of directories, so there's a lot of wordpress permalinks that don't work anymore because the .htaccess file wasn't... (5 Replies)
Discussion started by: vanessafan99
5 Replies

11. Web Development

I need apache to serve images from localhost instead of appserver

I have an apache/2.2.15 server centos 6.3 The apache server will be serving jboss app via mod_proxy (got that working) But... I need to serve the images from a local directory on the apache server. Here is my configuration. When I got to the site, I get 404s for all the images. What am I... (5 Replies)
Discussion started by: kmaq7621
5 Replies

12. UNIX and Linux Applications

Authentication via .htaccess and .htpasswd

I've created .htaccess and use htpasswd comand to create .htpasswd Now when I try to access my protected area I still have loging panel. I checked apache error log lile and found that there is some problem with mismatch password. I use Apache 2.2 .22 Is there some erron in creating... (25 Replies)
Discussion started by: Budrys
25 Replies

13. Shell Programming and Scripting

Monitoring Graphs using GNUPLOT

Need assistance in getting a monitoring script to create Grpahs Using GNUPLOT using below data. Graph for CPU, MEMORY , NETWORK in png. For memory can we convert the GB TO MB ----system---- ----total-cpu-usage---- ------memory-usage----- -net/total- time |usr sys idl wai hiq... (5 Replies)
Discussion started by: ajayram_arya
5 Replies

14. UNIX for Beginners Questions & Answers

How To Retreive Files With a Special Condition?

Everyday I have to get a list of files in a directory with a special condition and feed this list to a for loop to be processed. Since I do not use Unix all the time, it is tricky for me to get that list of files. So, the question is whether there are commands that will give me the file names... (12 Replies)
Discussion started by: april
12 Replies

15. Web Development

Problems starting webserver (WEBRick) on Rails

Good afternoon: I need your help please: Im new at web applications and i started taking a Ruby on Rails course and as a part of the installations i followed the instructions given on page: http://railsapps.github.io/installrubyonrails-ubuntu.html I followed every step and id did not yield... (6 Replies)
Discussion started by: alexcol
6 Replies