Sponsored Content
Top Forums Web Development Directory index forbidden by Options directive error on specific directory with indexing disabled Post 302888475 by crmpicco on Friday 14th of February 2014 11:27:03 AM
Old 02-14-2014
Quote:
Originally Posted by Corona688
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.
Yes, there's definitely no index.html or index.php script in that directory (as you would expect as it's a directory for storing JavaScript that belongs to a jQuery plugin).

I'm not sure I follow you in terms of "leaving it off". I was under the impression that my current configuration meant that the directory shouldn't be indexed?

I don't want it to be indexed as it is just a directory for holding JavaScript.
 

9 More Discussions You Might Find Interesting

1. HP-UX

Getting the index of the last entry in a directory

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

Search for a file in specific directory

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

Umask a specific directory

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

Run SED for all index.jsp files across a directory structure.

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

users who have un-sanctioned(forbidden) files in their home directory.

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

allow user to use sudo cp on a specific directory and only a specific file

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

Specific directory parsing in a directory tree

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

Shell scripting-I need a script which should watch a directory for a file with specific directory

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

How to search in specific directory using find?

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
INDXBIB(1)						      General Commands Manual							INDXBIB(1)

NAME
indxbib - make inverted index for bibliographic databases SYNOPSIS
indxbib [ -vw ] [ -cfile ] [ -ddir ] [ -ffile ] [ -hn ] [ -istring ] [ -kn ] [ -ln ] [ -nn ] [ -ofile ] [ -tn ] [ filename... ] It is possible to have whitespace between a command line option and its parameter. DESCRIPTION
indxbib makes an inverted index for the bibliographic databases in filename... for use with refer(1), lookbib(1), and lkbib(1). The index will be named filename.i; the index is written to a temporary file which is then renamed to this. If no filenames are given on the command line because the -f option has been used, and no -o option is given, the index will be named Ind.i. Bibliographic databases are divided into records by blank lines. Within a record, each fields starts with a % character at the beginning of a line. Fields have a one letter name which follows the % character. The values set by the -c, -n, -l and -t options are stored in the index; when the index is searched, keys will be discarded and truncated in a manner appropriate to these options; the original keys will be used for verifying that any record found using the index actually con- tains the keys. This means that a user of an index need not know whether these options were used in the creation of the index, provided that not all the keys to be searched for would have been discarded during indexing and that the user supplies at least the part of each key that would have remained after being truncated during indexing. The value set by the -i option is also stored in the index and will be used in verifying records found using the index. OPTIONS
-v Print the version number. -w Index whole files. Each file is a separate record. -cfile Read the list of common words from file instead of /usr/share/groff/1.19.2/eign. -ddir Use dir as the pathname of the current working directory to store in the index, instead of the path printed by pwd(1). Usually dir will be a symbolic link that points to the directory printed by pwd(1). -ffile Read the files to be indexed from file. If file is -, files will be read from the standard input. The -f option can be given at most once. -istring Don't index the contents of fields whose names are in string. Initially string is XYZ. -hn Use the first prime greater than or equal to n for the size of the hash table. Larger values of n will usually make searching faster, but will make the index larger and indxbib use more memory. Initially n is 997. -kn Use at most n keys per input record. Initially n is 100. -ln Discard keys that are shorter than n. Initially n is 3. -nn Discard the n most common words. Initially n is 100. -obasename The index should be named basename.i. -tn Truncate keys to n. Initially n is 6. FILES
filename.i Index. Ind.i Default index name. /usr/share/groff/1.19.2/eign List of common words. indxbibXXXXXX Temporary file. SEE ALSO
refer(1), lkbib(1), lookbib(1) Groff Version 1.19.2 27 June 2001 INDXBIB(1)
All times are GMT -4. The time now is 09:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy