Sponsored Content
Top Forums Web Development 403 Forbidden / show directories Post 302389255 by ippy98 on Saturday 23rd of January 2010 03:24:13 PM
Old 01-23-2010
fixed

I had to comment out a line in:

Code:
modsecurity.d/modsecurity_crs_50_outbound.conf

Code:
     52 # Directory Listing
     53 #SecRule RESPONSE_BODY "(?:<(?:TITLE>Index of.*?<H|title>Index of.*?<h)1>Index of|>\[To Parent Directory\]<\/[Aa]><br>)" \
     54 #        "phase:4,t:none,ctl:auditLogParts=+E,deny,log,auditlog,status:403,msg:'Directory Listing',id:'970013',tag:'LEAKAGE/INFO',severity:'4'"
     55

 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

403 Error in Apache?

I have installed Apache lots of times before. I have recently installed apache on FreeBSD. And it gives me all the time 403 Frobidden - you don't have permittion to access / directory. I have checked permitions. I've got -rwxrwxr-x for for all Apache DocumentRoot. I've checked Files directive in... (6 Replies)
Discussion started by: solvman
6 Replies

2. Linux

Apache Forbidden Error

When i go to my browser and type both localhost or the ip, i get Forbidden, you do not have permission to access / on this machine Whys that ? (1 Reply)
Discussion started by: perleo
1 Replies

3. Shell Programming and Scripting

Wget-Forbidden error

Hi , I am using shell script to connect to a https site and download all the files in a directory. eg: wget --no-check-certificate -r -np --user=<username> --password=<passwd> -O temp.txt https:<website>/<dirname> Error : HTTP request sent, awaiting response... 403 Forbidden 07:40:20... (0 Replies)
Discussion started by: mohanpadamata
0 Replies

4. UNIX for Dummies Questions & Answers

Shell Scripts - Show all directories with full information ( and no files)

Hello all, i'm stumped.... I need to list all directories with all there info and exclude the files, then vice versa. I am not sure if I need to string several ls commands together or how to even do that. I believe I need to do some variation of ls -l but need to figure out how to take out the... (5 Replies)
Discussion started by: citizencro
5 Replies

5. UNIX for Dummies Questions & Answers

show all text files in directories and subdirectories

Hi! I am trying to find all text files in my home directory that contain the string "C-d" so I tyied this : cd ~ find . -type f -exec grep -l "C-d" {} + but it took very long so I tryed this : ls -aR | xargs file |grep text but it didn't descend in the directories and it said :... (3 Replies)
Discussion started by: kelamahim
3 Replies

6. UNIX for Dummies Questions & Answers

Script to if webpage is: forbidden, Error...

I have a file with about 29,000 website names. I would like to find a script that would test if each website name is current/active or not. If not it should check if the page is: Forbidden, 404 Error... (1 Reply)
Discussion started by: dcovnton
1 Replies

7. Web Development

Php localhost/ directories show ?? ICONS

I have been troubleshooting a couple of problems all day that have to do with this all day. I do not know if you need to know the code I used in php but if you do I will post it. I hope that you can see the .pngs. Thanks ahead of time. Using phpMyAdmin and creating files.... somehow... (2 Replies)
Discussion started by: iHaveAQuestion
2 Replies

8. Shell Programming and Scripting

Wget-403-Forbidden-Error

Hi Friends, I did an extensive search over the internet and tried all possible solutions that were recommended, but couldn't figure this out. Please see this link http://www.dli.gov.in/data6/upload/0159/808/PTIFF/00000007.tif It works. But, when I try the following command wget -r... (7 Replies)
Discussion started by: jacobs.smith
7 Replies

9. Red Hat

Apache Tomcat(403 Access Denied)

Good evening, i've got a problem. I fail to enter "Manager App" in Apache Tomcat/9.0.0.M9 on server, it says "403 Access Denied». for example, server address is 192.168.1.4, when I type 'localhost ' in the browser and press "Manager App", then everything is ok. but if I enter 192.168.1.4 and press... (0 Replies)
Discussion started by: v.k.l.chr.by
0 Replies

10. UNIX for Advanced & Expert Users

Tip: show the last 3 directories in the shell prompt

tcsh: have the following in .cshrc (or .tcshrc) set prompt=": " zsh: have the following in .zshrc PS1="%# " bash: have the following in .bashrc PS1='\$ 'Lacking direct support this is a good approximation. (0 Replies)
Discussion started by: MadeInGermany
0 Replies
Bio::Index::GenBank(3pm)				User Contributed Perl Documentation				  Bio::Index::GenBank(3pm)

NAME
Bio::Index::GenBank - Interface for indexing one or more GenBank files (i.e. flat file GenBank format). SYNOPSIS
# Complete code for making an index for one or more GenBank files use strict; use Bio::Index::GenBank; my $Index_File_Name = shift; my $inx = Bio::Index::GenBank->new(-filename => $Index_File_Name, -write_flag => 'WRITE'); $inx->make_index(@ARGV); # Print out sequences present in the index in gcg format use Bio::Index::GenBank; use Bio::SeqIO; use strict; my $Index_File_Name = shift; my $inx = Bio::Index::GenBank->new(-filename => $Index_File_Name); my $seqio = Bio::SeqIO->new(-format => 'gcg'); foreach my $id (@ARGV) { my $seq = $inx->fetch($id); # Returns Bio::Seq object $seqio->write_seq($seq); } # alternatively my ($locus, $acc); my $seq1 = $inx->get_Seq_by_id($locus); my $seq2 = $inx->get_Seq_by_acc($acc); DESCRIPTION
By default the index that is created uses the LOCUS, ACCESSION, and VERSION identifiers as keys. Inherits functions for managing dbm files from Bio::Index::Abstract.pm, and provides the basic functionality for indexing GenBank files, and retrieving the sequence from them. For best results 'use strict'. You can also set or customize the unique key used to retrieve by writing your own function and calling the id_parser() method. For example: $inx->id_parser(&get_id); # make the index $inx->make_index($file_name); # here is where the retrieval key is specified sub get_id { my $line = shift; $line =~ /clone="(S+)"/; $1; } FEED_BACK Mailing Lists User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to one of the Bioperl mailing lists. Your participation is much appreciated. bioperl-l@bioperl.org - General discussion http://bioperl.org/wiki/Mailing_lists - About the mailing lists Support Please direct usage questions or support issues to the mailing list: bioperl-l@bioperl.org rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address it. Please include a thorough description of the problem with code and data examples if at all possible. Reporting Bugs Report bugs to the Bioperl bug tracking system to help us keep track the bugs and their resolution. Bug reports can be submitted via the web: https://redmine.open-bio.org/projects/bioperl/ AUTHOR - Ewan Birney Email - birney@ebi.ac.uk APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ _index_file Title : _index_file Usage : $index->_index_file($file_name, $i) Function: Specialized function to index GenBank format files. Is provided with a filename and an integer by make_index in its SUPER class. Example : Returns : Args : id_parser Title : id_parser Usage : $index->id_parser( CODE ) Function: Stores or returns the code used by record_id to parse the ID for record from a string. Returns &default_id_parser (see below) if not set. An entry will be added to the index for each string in the list returned. Example : $index->id_parser( &my_id_parser ) Returns : reference to CODE if called without arguments Args : CODE default_id_parser Title : default_id_parser Usage : $id = default_id_parser($line) Function: The default parser for GenBank.pm Returns : Array of specified ids Args : a line string _file_format Title : _file_format Usage : Internal function for indexing system Function: Provides file format for this database Example : Returns : Args : perl v5.14.2 2012-03-02 Bio::Index::GenBank(3pm)
All times are GMT -4. The time now is 03:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy