02-14-2014
If it's trying to index that folder, that likely means there's no index.html or index.php in there, so it falls back to indexing, which fails since that's disabled, and causes an error.
Not all errors are server errors. Unless there's a really good reason to allow indexes there, I'd leave it off.
9 More Discussions You Might Find Interesting
1. HP-UX
Hello,
Is there anyway of getting the index of the last entry in a directory? I'm using a C program to read the entries, but I want to go to the last entry because the directory is very big and I don't want to read all. I was using the size of the directory file descriptor but when I remove... (4 Replies)
Discussion started by: psimoes79
4 Replies
2. Shell Programming and Scripting
I have to search a file in a prticular directory. filename will be passed through command line. The directory may contain subdirectory.
i.e.
suppose directory in /u03/appl (it can hard coded in script). This directory may contain subdirectory.
$ scriptname.sh filename
output should be... (2 Replies)
Discussion started by: jadoo_c2
2 Replies
3. Shell Programming and Scripting
Is there a way to umask only a specific directory?
I want that everyone who add a NEW file in this folder gets its file moded 700. But that adding it in any other folder still moded as default.
Excuse my poor English! I'm not a native speaker
Thanks in advance... (4 Replies)
Discussion started by: funyotros
4 Replies
4. Shell Programming and Scripting
Hi,
I am a novice and require help once again.
I have a over 200 file all called index.jsp placed in different directories
The following Sed command gives me the data of all included jsp files in index.jsp
sed -n -e 's/^.*page="\(*\).*$/\1/p' index.jsp
How can I run the above... (6 Replies)
Discussion started by: rajkdutta
6 Replies
5. Shell Programming and Scripting
Hello guys,
I have to create a sh script which return users who have un-sanctioned(forbidden) files in their home directory.
I tried to do:
#!/bin/sh -x
SHADOW_FILE="/etc/shadow"
PASSWORD_FILE="/etc/passwd"
for i in `grep -v '^+' $PASSWORD_FILE | cut -d: -f1,6`
do
username=`echo... (6 Replies)
Discussion started by: catalint
6 Replies
6. UNIX for Advanced & Expert Users
Is there a way to allow a user to use sudo cp on a specific directory and only a specific file? (6 Replies)
Discussion started by: cokedude
6 Replies
7. Shell Programming and Scripting
Hi friends,
Hello again :)
i got stuck in problem. Is there any way to get a special directory from directory tree?
Here is my problm.." Suppose i have one fix directory structure "/abc/xyz/pqr/"(this will be fix).Under this directory structure i have some other directory and... (6 Replies)
Discussion started by: harpal singh
6 Replies
8. Shell Programming and Scripting
I need a script which should watch a directory for a file with specific directory.
If it finds a file in directory, it should search for few specific keyword in the file. if the keyword exists, it should trim string from specific column.
The file should be moved to another directory and the a... (8 Replies)
Discussion started by: akashdeepak
8 Replies
9. UNIX for Dummies Questions & Answers
Hi,
Is there any way to use find command and search only specific subdirectories in a directory.
for example
/home/d1
/home/d2
/home/d3
i want to search in the following directories
/home
/home/d1
/home/d2
i do not want the find command to search the /home/d3 directory. (6 Replies)
Discussion started by: Little
6 Replies
LEARN ABOUT CENTOS
polipo
POLIPO(1) General Commands Manual POLIPO(1)
NAME
polipo - a caching web proxy
SYNOPSIS
polipo [ -h | -v | -x ] [ -c config ] [ var=val ]...
DESCRIPTION
Polipo is a caching HTTP proxy. It listens to requests for web pages from your browser and forwards them to web servers, and forwards the
servers' replies to your browser. In the process, it optimises and cleans up the network traffic.
By default, Polipo listens on TCP port 8123. Please configure your web browser to use the proxy on localhost port 8123.
OPTIONS
-h Display help and exit.
-v Display the list of configuration variables and exit.
-x Purge the on-disk cache and exit.
-c Select an alternate configuration file.
var=val
Change the value of a configuration variable.
FILES
/etc/polipo/config
The default location of Polipo's configuration file.
/etc/polipo/forbidden
The default location of the list of forbidden URLs.
/var/cache/polipo/
The default location of the on-disk cache.
/usr/share/polipo/www/
The default root of the local web space.
SIGNALS
SIGUSR1
write out all in-memory objects to disk and reload the forbidden URLs file.
SIGUSR2
write out all in-memory objects to disk, discard all in-memory objects, and reload the forbidden URLs file.
SIGTERM, SIGINT, SIGHUP
write out all in-memory objects to disk and quit.
SECURITY
The internal web server will follow symbolic links that point outside the local document tree. You should run Polipo in a chroot jail if
that is a problem.
There is no reason to run Polipo as root.
FULL DOCUMENTATION
The full manual for Polipo is maintained in a texinfo file, and is normally available through a web server internal to Polipo. Please make
sure that Polipo is running, and point your favourite web browser at
http://localhost:8123/
Alternatively, you may type
$ info polipo
at a shell prompt, or
C-h i m polipo RET
in Emacs.
AUTHOR
Polipo was written by Juliusz Chroboczek.
POLIPO(1)