Questions tagged [apache-http-server]

Apache is the widely known term for the Apache HTTP server, a very commonly used web server software maintained by the Apache Software Foundation. If your question is about other Apache software such as Tomcat or log4j, http://stackoverflow.com/ is a better choice.

1,338 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7 votes
1 answer
10k views

How to log php error in a separate file?

I just did an upgrade of my server to Fedora 17 and merged some configuration files containing .rpmnew into the existing ones. I have been successfully logging my php errors in a separate log file by ...
Question Overflow's user avatar
5 votes
0 answers
1k views

After last windows 10 update httpd.exe can't start

On Monday I updated windows 10, and then, on Tuesday I tried to start Apache from xampp, but it failed. xampp told me to see Windows Event Viewer Windows-> application Bad application name: httpd....
Евгений Шалаев's user avatar
5 votes
0 answers
635 views

using ksm_preload for Apache inside Docker

I am trying to use ksm_preload for Apache inside Docker. The problem is the library does not get mapped when running inside Docker. Outside it works and i am seeing shared/volatile pages. I think the ...
Sidias-Korrado's user avatar
5 votes
2 answers
5k views

Redirect all HTTP traffic to HTTPS including subdomains

I'm trying to redirect all HTTP traffic to HTTPS including subdomains. I have the domain setup with FastComet on their Shared Hosting using cPanel. Some examples of how I like to redirect. http://www....
g3blv's user avatar
  • 279
5 votes
0 answers
356 views

Apache2 SetEnv For Multiple VirtualHosts

I am looking to use a single declaration of a SetEnv var in my apache2.conf file & have that variable used by all the virtualhosts I currently have virtualhost-specific vars set up, but would ...
Richard Peck's user avatar
4 votes
0 answers
1k views

WSL2 Ubuntu 20.04: Apache is slow

I'm using WSL 2 Ubuntu 20.04 in Windows 10, on a i5-10210U Processor (8 GB RAM) and, generally, when working directly in Ubuntu environment, it's very fast. But from a browser in Windows, Apache isn't....
dogmaxpeppe's user avatar
4 votes
1 answer
4k views

Hive Installation - Error Executing SQL Query "select "DB_ID" from "DBS""

I'm trying to install Apache Hive (3.1.1) on a Hadoop (3.2.0) multi-node cluster with 1 namenode and 3 data nodes. I have followed the getting started tutorial step-by-step on the apache website but ...
A Tol's user avatar
  • 41
4 votes
0 answers
3k views

Apache as a service on Windows, security issues?

TL;DR For Apache as a service on Windows: is granting a domain user used for running Apache as a service and granting them the privilege of Act as part of the operating system a security concern? The ...
haakym's user avatar
  • 141
4 votes
0 answers
758 views

How can I proxy without context path?

I have been using apache/sonar like this. <Proxy http://localhost:7070/sonar*> Order deny,allow Allow from all </Proxy> ProxyPass /sonar http://...
Jin Kwon's user avatar
  • 336
4 votes
0 answers
2k views

selinux: how to enable httpd to have read-write and execute permissions

I am facing problems with PHP interface that calls perl and shell scripts. These enable uploading of a file to a folder and execute them with some input while storing output into some other files. Now ...
Quiescent's user avatar
  • 163
4 votes
0 answers
2k views

Can I view the resolved config Apache is using?

Is there a way to view the final "effective" config a running Apache instance is using after resolving any/all includes and the like? I'm looking at a config that has a web of includes and suspect ...
Wilco's user avatar
  • 651
4 votes
0 answers
1k views

Setup default PHP version in Plesk 12

I've just setup a Plesk 12 CentOS6 vServer. I installed some PHP-versions like 5.4, 5.5 and 5.6. The customers can change the running PHP version in the interface. All is working fine, but I have one ...
dude's user avatar
  • 153
4 votes
0 answers
743 views

Visual Svn Server: How to restrict edit by specified IP Address

I want to enable only a specific IPAddess to edit (add, delete, update...) my visual svn server, but all others IPAddess must be able to read... I believe it is necessary a change like this in the ...
Simone Nigro's user avatar
4 votes
1 answer
972 views

Apache FOP does not honor font settings/directory for DocBook

I'm trying to use Microsoft's Arial Unicode font in a DocBook project. The project is using Apache's FOP. FOP is installed in /usr/local/bin/fop-1.1. The Arial_Unicode.ttf font is installed in /usr/...
jww's user avatar
  • 12.1k
4 votes
0 answers
1k views

puppet dashboard installation with passenger shows default apache page

I am trying to install puppet on my CentOS 6.5 64 bit machine. The installation of puppet-server goes through fine and I am being able to install apache2.2.15 and passenger 4.0.53. I have installed ...
schow's user avatar
  • 41
4 votes
1 answer
259 views

Quickly write byte to Bluetooth dongle's serial port when webpage loads

I have a USB Bluetooth dongle mounted (?) as /dev/rfcomm0, and when I navigate to my local IP address from another device on my network in a browser, I want it to write a 't' to the serial port so ...
Tanner's user avatar
  • 41
4 votes
0 answers
5k views

What use is apache's `Require all denied` directive?

The docs state that this works similar to the old Deny from all. While I see how Require all granted works fine, without a new Order directive Require all denied is basically a placebo: Require all ...
J V's user avatar
  • 486
4 votes
0 answers
2k views

Apache2 + Php + Pthreads HowTos

I'm running Ubuntu 14.04 LTS 64 bit. What I would really love to do is sudo apt-get install libapache2-mod-php5 but compile PHP with --enable-maintainer-zts so I could later install pthreads with pecl ...
Drug's user avatar
  • 41
4 votes
1 answer
2k views

All rails application logs being written to apache error log

I've deployed a ruby on rails 4.0.3 application to a server that I've configured with the following likely relevant software: Ubuntu 12.04.4 x64 server Phusion Passenger 4.0.37 Apache 2.2.22 Ruby 2.0....
Jon Worek's user avatar
  • 141
4 votes
0 answers
662 views

why Safari always GET status 200, never 304 for my .swf file?

I serve a Flash app as a .swf file (with HTML wrapper file), and Safari always retrieves with GET status = 200, never 304. Thus, Safari never uses cache for this file and downloads it each time (it's ...
ggkmath's user avatar
  • 141
4 votes
0 answers
1k views

ubuntu package dependency error

Webmin was upgrading packages and something went wrong after that and now i cannot install anything. Even my apache server is down . When i type apt-get install apache2 i get this error The ...
Sabareesh Kkanan's user avatar
4 votes
0 answers
666 views

Proxies, Apache, Tomcat - VHosts

I have a setup as so: Internet -- router -[DMZ]- pfsense -- webserver router =jenky plastic cheap-o router (my nice mikrotik/routerboard died). Has ip address of pfsense set to DMZ. pfsense =...
SnakeDoc's user avatar
  • 703
4 votes
1 answer
1k views

Setting Write Permissions for /var/www on an Ubuntu Desktop local web server

I've been struggling like hell for 3 days now, can't figure what I did wrong... EDIT 3: I think my question is more specific than I thought, so I created a new thread here: https://askubuntu.com/...
Boris Chevreau's user avatar
3 votes
0 answers
101 views

How to avoid hardcoded passwords on Apache httpd config file

I'm using an Apache Proxy with LDAP modules for authentication management. But I don't want to hardcode the password of the LDAP service user to query the domain. I have already used other ...
Silver137's user avatar
  • 131
3 votes
0 answers
2k views

Apache2 MPM event: More threads vs more processes?

We're running an Apache2 web server with MPM event and PHP-FPM. To serve high traffic with minimal server resources I did some research about how to configure MPM best. Let's say we want to serve a ...
MichaIng's user avatar
  • 525
3 votes
0 answers
857 views

Where is apxs on macOS Mojave?

I recently bought a new Mac because the old one died. I installed everything except "System Files" from the old disk. Now I find I do not have apxs on my new computer. It was present at /usr/sbin/apxs ...
William's user avatar
  • 31
3 votes
1 answer
5k views

PHP extension enabled but not loaded on Apache

For some reason, my php extensions are enabled, but not loaded by my Apache 2.4 server. The extensions I am missing are mbstring and fileinfo. I did the installation manually and I wish to keep it ...
DCardinal's user avatar
3 votes
1 answer
9k views

Setting MAMP to use port 80 gives the "The requested URL / was not found on this server." message but it works on port 8888

I'm having this issue with MAMP on OS X Mojave. When I change the ports to be default (localhost:8888) the WordPress (wp-config) screen. This is what I'm expecting to load since I haven't set up my ...
Rob's user avatar
  • 31
3 votes
0 answers
308 views

Why is my Django server still serving old files after changing filenames and clearing cache?

I have made some changes to my Ubuntu server running Django with Apache. I modified some HTML, JS and CSS files, but nothing has changed. Things I have tried: Clearing browser cache Renaming files ...
user2905256's user avatar
3 votes
0 answers
62 views

Apache server consume more memory while Apache log split

Issue 1: Apache consuming more than 50% memory within 1 minute on specific time by every day I have checked this issue in details by verify apache log and also review all files from my code but now ...
web2's user avatar
  • 31
3 votes
0 answers
2k views

Docker: Connection PHP/Apache --> MySQL slow

I would like to ask for help on my Docker installation, because I can't fix it. I have read a lot about slow Docker containers but all things I tried don't help. When I browser the phpmyadmin UI it ...
Keysmith's user avatar
3 votes
1 answer
16k views

Apache 2.4 reachable but refusing the connection

Not a duplicate, please be patient while trying to flag as duplicate. Thanks. Environment: Mac OS X EL Capitan 64 bit Apache 2.4.25 (Unix) ping ping 127.0.0.1 returns: 64 bytes from 127.0.0.1: ...
WordPress Speed's user avatar
3 votes
0 answers
59 views

One domain, one external IP, two ports, one machine, three servers

I have one raspberry pi, running an Apache2 webserver on port 80, an Ogar (Agario) server running on port 443 and another Ogar server on port 444. The external location that I need to access this ...
Matthew Taylor's user avatar
3 votes
1 answer
6k views

Authentication against LDAP on Apache fails with password mismatch

I want to accomplish LDAP authentication on my Linux machine, but can't get it working. Currently, I get the following error in the Apache log: AH01617: user john.doe: authentication failure for "/": ...
Tobias's user avatar
  • 31
3 votes
2 answers
3k views

Can I still access another localhost website in my computer after sharing my localhost to another computer?

I am using xampp and I tried to share my localhost with another computer with the same network.Everything works fine they can see my phpmyadmin and the website I made. The problem is when I try to run ...
aiai's user avatar
  • 139
3 votes
1 answer
1k views

Apache Spark cluster through a proxy?

This is more a speculative question to those with more networking / Apache Spark experience than me. My current setup: two 32GB, 4GHz Core i7 machines I'd love to tie into a Spark cluster. However, ...
Magsol's user avatar
  • 177
3 votes
2 answers
9k views

Can't get HTTP connection to Amazon Web Services EC2 Windows Server 2012 Instance

I have an Amazon Web Services EC2 instance with a Windows Server 2012 AMI on it. I have installed XAMPP on it, and have started the apache server from the XAMPP Control Panel. It starts successfully. ...
user2606742's user avatar
3 votes
1 answer
409 views

Configuring Apache2 /etc/mime.types to display .pgm images

I'm trying to display a .pgm image on my Apache2 server, however I can't seem to get it working. I've edited my /etc/mime.types file to include the line image/x-portable-graymap pgm, but it still ...
Andrew's user avatar
  • 505
3 votes
1 answer
1k views

Apache configuration in Mint 14 not working

I usually install mysql, apache and php using the following commands sudo apt-get install apache2 php5 libapache2-mod-php5 php5-mysql but after I did a fresh upgrade to Linux mint 14, I got these ...
Bazinga777's user avatar
3 votes
1 answer
1k views

How can I route all traffic coming in to an OpenVPN server through an Apache proxy on the same machine?

I was following the instructions here to set up mod_pagespeed as a proxy for my phone. As the security note suggested, I set up OpenVPN and got that much working on my phone, but OpenVPN isn't letting ...
AVB's user avatar
  • 131
3 votes
1 answer
2k views

100 % cpu usage debian 32 bit due to apache processes

So there is a VPS with openvz virtualization, with debian 6.0 32 bit The problem is appearing approx. 1 week ago. The automatic security monitoring system is shutting down the vps that i'm running ...
rsz's user avatar
  • 143
3 votes
1 answer
812 views

How to completely remove MySQL files from my windows computer

I have recently installed apache, php, and mysql. Apache and php are configured properly, but when I tried to configure mysql it shows that there is already a security file for mysql that is setup and ...
user avatar
3 votes
1 answer
253 views

Dynamic local network names for virtual hosts

I've configured a virtual machine for use as a web development platform to distribute to web developers in my company. Currently, I have the install script for each site creating a new virtual host ...
Jonathan Swinney's user avatar
2 votes
0 answers
675 views

CORS Options request fail with reverse proxy

I'm using an Apache 2 Server with a Tomcat Server installed. The Tomcat server includes a Geoserver and a web client, which is able to send POST requests to the Geoserver. I want to avoid the ...
Chris_98's user avatar
2 votes
0 answers
329 views

Can't access Apache2 on a VPS via public IP of the server from an external computer

root@Client13:/etc/apache2# netstat -anltp | grep "LISTEN " tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 104129/apache2 tcp 0 0 0.0.0.0:22 ...
Floyd's user avatar
  • 23
2 votes
0 answers
1k views

Figure out what makes a 302 redirect for site on Chrome / Firefox (Apache-server)

A site is running on a production environment, and needs to stay there, while I move and play with it on an online staging environment. I moved all the files and pointed my host-file to the staging-...
Zeth's user avatar
  • 103
2 votes
0 answers
2k views

Can apache httpd listen on a unix socket?

I would like httpd (Apache 2.4.x) to serve HTTP requests over a UNIX domain socket. The Listen directive doesn’t seem to allow for specifying sockets. Is there perhaps another (undocumented?, module?) ...
phg's user avatar
  • 195
2 votes
1 answer
160 views

Cant start apache on mac like i did on windows

I have very simple task to do, since i am not expert in this field i am asking for a help. Right now i am trying to run apache on my mac, i have windows working script and i need basically to do the ...
Sahbaz's user avatar
  • 71
2 votes
2 answers
1k views

Jenkins how to set httpListenAddress

I need to hide Jenkins behind the Apache proxy because Jenkins does not run on https. So I started with this article where is warning Make sure that you change the Jenkins httpListenAddress from its ...
Čamo's user avatar
  • 345
2 votes
0 answers
718 views

rsyslog stopped forwarding httpd logs after logrotate

I have an issue where rsyslog stops forwarding httpd logs to our central log repo after logrotate. Server is RHEL7. My investigations thus far have led me here: (in /var/lib/rsyslog) #: grep httpd *...
amhulli's user avatar
  • 21

1
2 3 4 5
27