Questions tagged [apache]

Use this tag (along with an appropriate programming-language tag) for programming questions relating to the Apache HTTP Server. Do not use this tag for questions about other Apache Foundation products. Note that server configuration questions are usually a better fit on https://serverfault.com

Apache web server can be quickly and easily installed for development tasks, especially those related to PHP, Perl, and MySQL, using some packages such as XAMPP.

Note that, by historical convention, the term "Apache" is used to refer to the Apache Server Project (httpd), with which the tag is associated. This point must be clarified because the Apache Server Project is just one of over 350 open-source projects and initiatives provided by the Apache Software Foundation (also sometimes referred to simply as "Apache".)

Use the tag only for programming questions relating to the Apache HTTP Server. Note that server configuration questions may be a better fit on Server Fault.

Latest stable version

Resources

Related tags

,

92396 questions
14
votes
1 answer

What is "http://maven.apache.org" tag under project tag in pom.xml?

For quite some time am using the dependency management tool as Maven. I couldn't understand what is the necessity of url tag in pom.xml under project tag. 4.0.0 com.mycompany.app
Raju Guduri
  • 1,237
  • 1
  • 13
  • 25
14
votes
2 answers

Android - Proguard with httpcore and httpmime using Android Studio and Gradle

I'm developing an app with Android Studio 1.0.2 and Gradle 1.0.0 using the Apache libraries httpmime and httpcore for multipart entities. Here's my build.gradle: apply plugin: 'com.android.application' android { compileSdkVersion 21 …
hilakista
  • 141
  • 1
  • 1
  • 4
14
votes
3 answers

how to specify query string in url with apache bench

My rails application is running on thin server which i want to benchmark using apachebench the command am using is ab -n 1 -c 1 http://localhost:3001/welcome/search?query="doctor"&rad=5 But thin server is not taking this url.Its giving !!…
kshama
  • 1,637
  • 4
  • 18
  • 21
14
votes
3 answers

PHP - a different open_basedir per each virtual host

I've came across on this problem, I have a sever running apache and php. We have many virtual hosts but we've noticed that a potentially malicious user could use his web space to browse other user's files(via a simple php script) and even system…
Lopoc
  • 1,308
  • 5
  • 16
  • 26
14
votes
5 answers

PHP: Fatal error: Class 'SoapClient' not found

First of all, I've read this question (Fatal error: Class 'SoapClient' not found) and have everything done the answer says. But still experience an issue. I also found similar issue here (https://bugs.php.net/bug.php?id=64445) but it is not solved…
Green
  • 28,742
  • 61
  • 158
  • 247
14
votes
8 answers

Pretty URLs with .htaccess

I have a URL http://localhost/index.php?user=1. When I add this .htaccess file Options +FollowSymLinks RewriteEngine On RewriteRule ^user/(.*)$ ./index.php?user=$1 I will be now allowed to use http://localhost/user/1 link. But how about…
Port 8080
  • 858
  • 3
  • 12
  • 24
14
votes
1 answer

How to make GET CORS request with authorization header

I was reading about CORS requests, and I have managed to make regular GET or POST request and it works fine. But when I add authorization header to a either GET or POST request, then the preflight OPTIONS request is sent to the server and I get 500…
Matija
  • 453
  • 2
  • 5
  • 13
14
votes
1 answer

Working with pretty urls on apache and fastcgi after hhvm installation

I needed slim php to work with pretty urls using .htaccess, well no problem. RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [QSA,L] Now I ran this using hhvm, fastcgi using this virtual host config.
Joey Hipolito
  • 3,108
  • 11
  • 44
  • 83
14
votes
2 answers

Right-alignment text in PDFBOX?

I need to draw text in right alignment using PDFBOX (java). I am currently using ContentStream.drawString to draw text to the pdf. I'm not using monospace font, so the width of characters varies. Any ideas?
Mirror318
  • 11,875
  • 14
  • 64
  • 106
14
votes
4 answers

Slow access to Django's request.body

Sometimes this line of Django app (hosted using Apache/mod_wsgi) takes a lot of time to execute (eg. 99% of eg. 6 seconds of request handling, as measured by New Relic), when submitted by some mobile clients: raw_body = request.body (where request…
Tadeck
  • 132,510
  • 28
  • 152
  • 198
14
votes
4 answers

FPM with apache2 not working (Permission denied)

I'm trying to set up a debian web server with apache, fastcgi and fpm, but I'm getting exasperate. As soon as i deactivate mod_php I get following error: [Thu May 22 12:16:10 2014] [error] [client xxx.xxx.xxx.xxx] (13)Permission denied: FastCGI:…
catweazle
  • 153
  • 1
  • 1
  • 6
14
votes
4 answers

ERR_INCOMPLETE_CHUNKED_ENCODING Chrome Root page load

I have a website on a lamp stack with little to no extra configuration other than FallbackResource /index.php present in my root .htaccess When I load the root page (localhost ) in Chrome I receive GET http://192.168.163.171/…
Blaine
  • 829
  • 2
  • 9
  • 19
14
votes
3 answers

What are SSL heartbeats?

With all the chatter going on about the heartbleed bug, it's hard to find information on what exactly the exploited heartbeat extension for OpenSSL is used for. Also, is it possible to disable it for Apache w/ mod_ssl without recompling with the…
user193130
  • 8,009
  • 4
  • 36
  • 64
14
votes
4 answers

Apache doesn't start after Vagrant reload

I'm trying to set up a simple dev environment with Vagrant. The base box (that I created) has CentOS 6.5 64bit with Apache and MySQL. The issue is, the httpd service doesn't start on boot after I reload the VM (vagrant reload or vagrant halt then…
Zé Cipriano
  • 411
  • 1
  • 3
  • 11
14
votes
3 answers

phpMyAdmin EXTREMELY slow when loading innoDB database main page

My Problem I am Having: I load the database page for one of my innoDB databases from within phpMyAdmin and it loads EXTREMELY slow. We're talking like up to 5 minutes of load time. This only happens on the MAIN page, meaning, when you view the…
pfuri
  • 464
  • 1
  • 4
  • 10
1 2 3
99
100