The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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,400 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
1answer
9k 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 ...
5
votes
1answer
3k 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....
5
votes
0answers
274 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 ...
4
votes
0answers
353 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 ...
4
votes
0answers
663 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://...
4
votes
0answers
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 ...
4
votes
0answers
566 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 ...
4
votes
0answers
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 ...
4
votes
1answer
232 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 ...
4
votes
0answers
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 ...
4
votes
0answers
555 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 ...
4
votes
0answers
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 ...
4
votes
0answers
655 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 =...
4
votes
1answer
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 ...
3
votes
0answers
196 views

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

In monday I updated windows 10, and then, in tuesday I tried to start apache from xampp, but I failed. xampp told me to see what Windows Event Viewer writes and this is what I I had seen in Windows-&...
3
votes
0answers
21 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 ...
3
votes
0answers
45 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 ...
3
votes
0answers
110 views

How to choose the right permission access for /var/www/* folders?

I'm trying to configure my web server from scratch and since this is my first time doing everything on my own, I'm unsure what kind of permissions I need to set for each site I have in /var/www. As ...
3
votes
1answer
2k views

Something “kills” my Apache-PHP-Processes after some time

I have the following really strange problem and hope, you guys can help me out. If there are any questions, I'll try answer them as best as i can. The problem I have a web server with Debian 6.0, ...
3
votes
2answers
2k 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 ...
3
votes
0answers
959 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 ...
3
votes
1answer
702 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/...
3
votes
0answers
3k 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 ...
3
votes
1answer
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....
3
votes
1answer
356 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 ...
3
votes
1answer
2k views

Can't access wiki site through any other computers on my LAN

I am trying to set up an internal wiki site for my company. Product info, specs that sort of thing. I have downloaded and installed WAMP Server 2.2 (Apache 2.2.22 MySQL 5.5.24 PHP 5.3.13) as well as ...
3
votes
1answer
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 ...
3
votes
1answer
768 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 ...
3
votes
1answer
3k views

Mac OS X Lion Apache Server not Found

After upgrading to Lion 10.7.2 today, Apache virtual hosts are not working anymore. When I go to http://XYZ.localhost, it say "server not found". I am using Apache on my Mac OS X Lion and until today,...
3
votes
1answer
231 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 ...
3
votes
1answer
732 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/...
2
votes
0answers
49 views

Upload to apache fails (timeout) after ~40seconds but works locally

If I connect to the server via VNC I can upload big files from him-self via localhost [example: 5MB] (tested with wordpress and one simple php upload script). But If i try to upload "big" files (...
2
votes
0answers
22 views

Query about htaccess

I have developed a website which has a structure that can be summarised as: htdocs .htaccess ... wp-content ... uploads ... Private .htaccess ...
2
votes
1answer
410 views

Installing Apache 2.4.39 on Windows 10

When I try to install Apache 2.4.39 on Windows 10, I receive the following error: (OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock:...
2
votes
1answer
580 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 ...
2
votes
0answers
37 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 ...
2
votes
0answers
101 views

Nginx reverse proxy microcaching not working

My current config is Nginx webserver as a reverse proxy with Apache at backend for dynamic pages and Apache is configured with PHP-FPM. My dynamic pages don't change often so I am trying to use Nginx ...
2
votes
1answer
46 views

How to reset apache server in fedora

I had messed up with Apache server's config because of which the server was not working. It showed this: I installed Apache using sudo dnf install httpd php. I deleted /etc/httpd. and re-installed ...
2
votes
0answers
560 views

How to change the default openssl version on Apache

I'm currently facing an issue with my openssl configuration. Indeed, in order to enable tls 1.3 on my apache server, i downloaded the beta opensslv1.1.1-pre7 following the path /usr/local/openssl2 (i ...
2
votes
0answers
875 views

Win10 slow localhost access when network cable unplugged

We have a web application that we deploy on either Win7 and Win10. The web client connects to apache and to our back-end server over HTTP and HTTPS. In one of our deployment scenarios, everything is ...
2
votes
1answer
3k views

Install mod_wsgi on Ubuntu with Python 3.6, Apache 2.4, and Django 1.11

How do I get mod_wsgi for Apache2 that was compiled for Python 3.6.1? (or any future Python version) I am using a Python 3.6.1 virtual environment with Django 1.11 and Everything is working ...
2
votes
0answers
150 views

How to debug mod_perl compilation errors during start and reload of Apache httpd 2.4?

I'm running Ubuntu 16.04 LTS with httpd 2.4 and mod_perl2 to host a PerlAuthenHandler for some web app. It has been 14.04 LTS before and was upgraded some weeks ago. This works in general but ...
2
votes
0answers
373 views

Sockjs/socketio disconnect delay behind apache proxy

I need to handle users disconnecting from my sockjs application running in xhr-polling mode. When I connect to server directly, everything works as expected. When I put apache between nodejs and ...
2
votes
0answers
53 views

Apache better http compression

I generated a 500 MB empty file on Windows 10 using CMD fsutil file createnew <filename> <length> and I uploaded it to two servers: Ubuntu 16.04 LTS dedicated server with PHP 7.1.3-2+deb....
2
votes
1answer
3k 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: ...
2
votes
0answers
4k views

localhost is currently unable to handle this request. HTTP ERROR 500 wamp server using OSPOS

I'm using OSPOS open-source point of sale with wamp server but while I'm trying to access reports> detailed reports> I'm getting Http request failed 500 internal server error While I checked this ...
2
votes
1answer
875 views

SSL for IPv4 over IPv6 forwarded connection

regarding this question there is the following network setup. At home there is a cubieboard running an Apache server behind me router. Problem is that my ISP only gives me a IPv6 address and uses DS-...
2
votes
1answer
293 views

Disabled RC4 and Qualys still says I have it enabled

I would like some help on my Apache CentOS 7 website. I don't know why it still has RC4 enabled when it is already disabled. Maybe I still have it enabled. So this is my configuration for my web ...
2
votes
1answer
2k 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 "/": ...
2
votes
0answers
1k 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 ...