Category "apache"

How to read Excel cell having Date with Apache POI?

I'm using Apache POI 3.6, I want to read an excel file which has a date like this 8/23/1991. switch (cell.getCellType()) { ... ... case HSSFCell.CE

Ubuntu 'Failed to restart apache2.service: Unit apache2.service not found.'

I am using Google Cloud Platform to test out ModSecurity and I am using a tutorial to launch it. However, I need to restart Apache every once in a while. I'm us

Ping -t shows loss when Apache is running

I have an apache server on windows machine , in the same network there is many other machines containing servers also .. When I try to check the network connect

Header Strict-Transport-Security

When I add the header Strict-Transport-Security to my .htaccess file, in Apache, must the browser block all HTTP requests? Header always set Strict-Transport-Se

Why are Apache HTTP server version numbers all even?

The previous Apache HTTPD version was 2.2. The current one is 2.4. The next one will be 2.6. In their documentation these versions are sometimes called 2.1/2.2,

How to run a shell as root from php (apache)

I am using ubuntu server 20.04 LTS, where I have multiple shell files, using php from apache I need to run multiple shell files from a browser but need to run a

SetEnvIfNoCase not setting variable value properly

I need to access service running at domain (example.com) from two different apps running at different ports of localhost but getting CORS error. PageURL accesse

Redirect http to https on apache not working for http links that include a filename

I have recently setup SSL on my apache server (the server is hosted on DigitalOcean). I have followed the instructions to setup the certificate and edit to the

libcurl with 7.48.0 or 7.64.1 cannot pass digest auth while curl command or firefox can pass using the same web server

libcurl fails with digest auth. here is the successful request packet sent by curl command tools: GET /nagios/ HTTP/1.1 Host: 192.168.10.199:1237 Authorization:

Apache Rewrite Condition for Query String

I think someone trying to put some load on my website or hack, which I would like to stop. If you see below url there is a text as "<svg/class="elliot"onLoad

Syntax Error when deploying django on apache2

I am trying to host a django application on a server using apache2 and mod_wsgi. The project itself is located at the path /usr/share/django-projects/mysite The

Apache error log -- how to fix "numpy ImportError" or disable it?

I'm running a Django app on Apache with mod_wsgi -- everything seems to be working but the following error has been clogging up my logs, running every 30 mins o

How to proxypass Apache to a dockerized Flask/Gunicorn app

We have a server running apache2 that is hosting a number of websites and applications. We have a dockerized Flask application (served with Gunicorn) that we wo

Apache/PHP Correct permissions for uploading a binary that runs server side?

I've prepared a PHP browser interface (like a modem interface) for an embedded system, that is supposed to help manage the core application (uploading a new bin

Static files not found Flask on Apache

I have a Flask application deployed on Apache, and the JavaScript files in the static folder cannot be found I don't understand what is wrong, here are the f

problems centos 7 httpd service restart

when I type systemctl restart httpd , I get the following error: Job for httpd.service failed because the control process exited with error code. See "systemct

.htaccess rewrite without redirect / Wordpress

I want to rewrite an URL so that "few_words_Keyword" is shown in the browser but the page display /directory/Keyword In my htaccess I have following : Rewrite

DJango deployment on Apache24 not working

I am new to web frameworks and I have designed small website using DJango-3.1.7. I am trying to deploy DJango website on Apache server in Windows 10 platform bu

How to disable Apache HTTP Header info in AWS Load Balancer Response?

I have a node.js environment deployed using AWS Elastic Beanstalk on an Apache server. I have run a PCI scan on the environment and I'm getting 2 failures: Apa

Apache shutdown unexpectedly on Windows 10

I know this question is asked so many times before but for the whole last day I have tried nearly every suggested solution I could find. Below is my xampp contr