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 is an incoming request)

The questions I have:

  1. What could have slowed down access to request.body so much?
  2. What would be the correct configuration for Apache to wait before invoking Django until client sends whole payload? Maybe the problem is in Apache configuration.

Django's body attribute in HttpRequest is a property, so that really resolves on what is really being done there and how to make it happen outside of the Django app, if possible. I want Apache to wait for full request before sending it to Django app.

Apache Camel: maven-remote-resources-plugin (goal "process") is ignored by m2e

I am working on a Camel Project. I began with taking a camel example, run "mvn eclipse:eclipse" in the shell and then imported it as a maven project into Eclipse. Unfortunately, I have a warning in the pom.xml:

<project xmlns="" xmlns:xsi=""



    <name>Cruiser Food Supply</name>
    <description>A process on how food supply on a cruiser works.</description>


        <!-- Camel dependencies -->
        <!-- Mail -->
        <!-- XStream -->
        <!-- Weather -->
        <!-- Many more dependencies-->



            <!-- Allows the example to be run via 'mvn compile exec:java' -->


Eclipse shows a warning in the line where it says <parent> and the warning is:

maven-remote-resources-plugin (goal "process") is ignored by m2e.

How to get rid of this warning?

.htaccess does not redirect

I am creating a MVC structure for my php web application. It's a Windows 8.1 system, running xampp. The .htaccess file does not work correctly. It is located here:


When I open this url in firefox:


I want this to be processed:


But I get an error (404).

This is my .htaccess files content:

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]

$_GET['url'] in index.php just does not exist. I configured the httpd.conf file. What am I doing wrong?

Failed to set up HTTPS on WAMPSERVER 2.5

I am using WAMPSERVER (64 BITS & PHP 5.5) 2.5, and I need to set up HTTPS for my websites, so I have followed the instruction from the links below,

and have also tried this one,

In the DOS Command windows, I enter httpd -t . it displays Syntax is OK.

But it says Unable to connect on my firefox when I hit https://{{localhost}}/

Any idea what I missed?

Apache poi XWPF Paragraph line spacing

I am looking at trying to build a word document using Apache Poi in Java/Coldfusion. So far it's letting me do a lot of the formatting I want except for line spacing of a paragraph. Does anyone know how I would set a paragraph to be single line spaced? It keeps building documents that have Multiple spaced paragraphs, with 1.15 as the spacing.

Here's an example of the code:

document = loader.create("org.apache.poi.xwpf.usermodel.XWPFDocument");
ParagraphAlignment = loader.create("org.apache.poi.xwpf.usermodel.ParagraphAlignment" );
paragraphOne = document.createParagraph();

paragraphOneRunOne = paragraphVar.createRun();
paragraphOneRunOne.setText(Here's one line of text in this paragraph);

paragraphOneRunTwo = paragraphVar.createRun();
paragraphOneRunTwo.setText(Here's a second line of text in this paragraph);

I've looked through examples and the api docs, and the only settings I can find for line spacing determine the line spacing before or after a paragraph, not within the paragraph for linespacing of the text.

Anyone encounter this before or have any exmaples of how to fix it?

How to change Port 8080 on Apache Tomcat on Linux Centos 6.5 sever to the Default?

I want to remove switch from port 8080 on my Apache Tomcat on Linux server CentOS 6.5 to the default. On My hosted Apache Tomcat server is running on port 8080 on url After I have installed the Geoserver software on the Apache server the url for it is

My website domain is Currently I can access Geoserver by this URL:; However, I want to access Geoserver without 8080 using this URL instead:

How can I do this?

Please help me.

Wamp remove localhost from URL

My Wamp installed fine, and both apache and mysql services are ok too.

But when I'm on Localhost page within Wamp, after I click on one of my web projects (www folder) it don't load properly.

For example.

URL: http://localhost/

The page shows me all the regular stuff from Wamp. Under "Your Projects", i have a -Hello World- site.

If I click the project, I have a sorry page that tells me that it cannot be finded.

URL: http://helloworld/

BUT if I WRITE on adress field URL: http://localhost/helloworld/

The project RUNS!!!

Can you help me fix that???

My Host file, already has localhost

The following artifacts could not be resolved: org.apache.hbase:hbase:jar:

I try to take the following steps: right click on pom.xml and run as maven install in eclipse but I got this error:

[ERROR] Failed to execute goal on project tt: Could not resolve dependencies for project com.sunshineatnoon:tt:jar:0.0.1-SNAPSHOT: The following artifacts could not be resolved: org.apache.hbase:hbase:jar:, Failure to find org.apache.hbase:hbase:jar: in was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]

however, when I looked into, there indeed exists this org.apache.hbase:hbase:jar:

My pom.xml is as follows:

<project xmlns="" xmlns:xsi="" xsi:schemaLocation="">



How can I solve this problem?Any help will be appreciated, thanks in advance!

.htaccess file ineffective at password protecting my xampp directory?

I'm totally new to XAMPP and I'm trying to set up the security for it as best as possible. I understand that it is beneficial to create an .htaccess file to password protect certain directories. There is a page/script that is built into xampp available at http://localhost/security/xamppsecurity.php that will generate one for you in the /htdocs/xampp directory. However, after I've gone and done this, I'm still not prompted for a password when I visit my site at http://localhost/xampp. I thought I should've been prompted for a username and password here? This is a difficult problem to search answers for so I apologize if this has been answered already.

I've made sure to close/re-open my browser and delete all history/cache/cookies. I also restarted the Apache service after creating the htaccess file.

the .htaccess file:

AuthName "xampp user"
AuthType Basic
AuthUserFile "C:\xampp\security\xampp.users"
require valid-user

C:\xampp\security\xampp.users is a valid file and it contains the username I setup and an encrypted password.