Questions tagged [apache-utils]

Apache Utils are the tools provided by Apache Web Server

Apache Utils are the tools provided by Apache Web Server, which includes:

  • ab: Apache benchmark tool
  • logresolve: Resolve IP addresses to hostname in logfiles
  • htpasswd: Manipulate basic authentication files
  • htdigest: Manipulate digest authentication files
  • dbmmanage: Manipulate basic authentication files in DBM format, using perl
  • htdbm: Manipulate basic authentication files in DBM format, using APR
  • rotatelogs: Periodically stop writing to a logfile and open a new one
  • split-logfile: Split a single log including multiple vhosts
  • checkgid: Checks whether the caller can setgid to the specified group
  • check_forensic: Extract mod_log_forensic output from apache log files
  • httxt2dbm: Convert rewrite map in .txt format to .dbm format for better performance
  • (and more)

For Debian-based Linux, it can be installed via:

apt-get install apache2-utils
7 questions
7
votes
0 answers

apt-get install apache2-utils tries to install a non-existing package

when trying to install ab (apache benchmark) like this: sudo apt-get install apache2-utils on my Mint 16 / Ubuntu 13 system I get this messages: sudo apt-get install apache2-utils [sudo] password for : Reading package lists... Done Building…
Gisela
  • 1,194
  • 2
  • 16
  • 30
3
votes
2 answers

How to use Apache DateUtils to get previous month from first day to last day with time [JAVA]?

If the input is today(June 7), then it should give me May 1 12:00 AM to May 31, 11:59 PM. I was using Calendar but I want to use DateUtils. Calendar calendar = Calendar.getInstance(); calendar.set(Calendar.DAY_OF_MONTH,…
Rthp
  • 85
  • 1
  • 13
1
vote
2 answers

StringUtils replace text in between two patterns

Hi I found really useful the apache operator StringUtils.substringBetween(fileContent, "") to extract information inside
paul
  • 12,873
  • 23
  • 91
  • 153
1
vote
1 answer

NGINX - Why can I bypass password authentication?

I have a NGINX server and I use Apache-utility's for password requirement (.htpasswd). It MOSTLY works fine. The following this work fine: example.com/admin example.com/admin/ example.com/admin/index but... When I type example.com/admin/index.php…
Time to Travel
  • 142
  • 1
  • 9
0
votes
0 answers

ab apache benchmark tool to send post data but not from file

I'm using ab from apache2-utils for benchmarking purposes like: ab -c 2 -n 200 -p file.txt -T application/json url . Is there any way to do the same, but not reading the content from a file, but from a parameter? Or environment variable or…
user2194805
  • 1,201
  • 1
  • 17
  • 35
0
votes
1 answer

Using ab command, 100 concurent process fails in Linux, How to solve this issue for Linux?

What i have done : I have used following ab command : ab -n 1000 -c 100 http://192.168.101.143:8558/num?num=5 Here, I am trying to generate 1000 http request , 100 concurrent process, port is 8558, and i want factorial of 5 from my own web…
-1
votes
1 answer

Streaming write into csv file

I need generate report of some big amount of data into csv file. I want avoid loading all data into memory and flush them all. My preferable way is create csv header and next in sequence write data into csv. I'm using csv printer of apache csv which…
Denis Stephanov
  • 4,563
  • 24
  • 78
  • 174