Use this tag for questions related to the Apache HTTP server (any version, but make sure to provide Apache version numbers in the question unless not relevant). Non-apache web server-related questions should use the tag: webserver.

learn more… | top users | synonyms

1
vote
3answers
16 views

What does “-45.el7” mean in “httpd 2.4.6-45.el7”?

I have installed httpd on CentOS 7, but the installed version is 2.4.6-45.el7. This page says that the latest version of httpd is 2.4.25. I want to know if 2.4.6-45.el7 is equivalent to 2.4.25. ...
3
votes
0answers
18 views

httpd failed due to SSLProtocol: Illegal protocol 'TLSv1.1' on centos

I am trying to update TLS1 to TLS1.1 or higher but after doing below changes, Getting error "SSLProtocol: Illegal protocol 'TLSv1.1'" My Apache and openssl version are :- httpd -v Server version: ...
0
votes
0answers
30 views

Apache Multiple Domains and Multiple SSL to same IP and folder

Hi I am building a system and I need to use the same IP and same folder for a site with multiple domains and a seperate ssl cert for each one. Also I do not want them to redirect or forward, because ...
0
votes
0answers
20 views

Ubuntu php upgrading issue

I have a problem after I updated my php version to 5.6 from 5.5. OS: Ubuntu 14.04.1 LTS. Server version: Apache/2.4.7 (Ubuntu). PHP version: 5.5. Laravel 4.2 with yajra package. I have done the ...
0
votes
0answers
23 views

my website not responding with SSL [closed]

I have a website hosted on a CentOS 6 VPS and running fine. Now I have to make it accessible with SSL, so I configured /etc/httpd/conf/httpd.conf and /etc/httpd/conf.d/ssl.conf to make httpd listen to ...
3
votes
0answers
41 views

Port 443 switching to filtered after openssl test

While I was investigating this issue related to SSL (published as OT in StackOverflow), I found a curious behaviour. Premise The premise is that I was trying to understand why my web server (hosted ...
3
votes
1answer
38 views

NGINX is reading files with Apache permission, is it wrong?

I have a server - S1 - using Apache as its webserver, and another server -S2 - running NGINX as its webserver. S2 is mounted in S1 and S1 is uploading files to S2 using NFS. So newly added files in ...
0
votes
0answers
44 views

$_SERVER['SCRIPT_URL'] and $_SERVER['SCRIPT_URI'] not appearing when mod_rewrite enabled

I have PHP 7.1 and apache 2.4 running in a docker vm. I have mod rewrite enabled. I have code that needs $_SERVER['SCRIPT_URL'] and $_SERVER['SCRIPT_URI']. These are not set. I created a minimal ...
0
votes
1answer
18 views

EasyApache 4 Migration Issue

One of server is hosting several domains with their wepages mostly in php. Server was running eayapache3 with php5.5. One of the domain asked to enable php5.6 recently. So we migrated the server from ...
0
votes
0answers
17 views

php not working after having activated Apache instead of nginx on plesk

In order to overcome a number of issues arising from nginx I decided to switch it off and activate apache instead on Plesk. Yet when I did it no php script seems to run and I get "Service Temporarily ...
0
votes
1answer
34 views

How can I make logrotate work for custom apache log location?

I changed /etc/apache2/envars like this. #export APACHE_LOG_DIR=/var/log/apache2$SUFFIX export APACHE_LOG_DIR=/lv1/var/log/apache2$SUFFIX And it seems to work. Logs appended in the new directory. ...
0
votes
0answers
21 views

Problems configuring multi-user WebDav on Apache

I've had several instances where allowing multiple types of file access for a NAS device is highly desirable. I followed the excellent example in https://hexeract.wordpress.com/2011/02/25/configure-a-...
1
vote
1answer
24 views

Why is the website (hosted in a Virtualbox) not available on the host system?

I have installed the CentOS system in a VirtualBox. Installed the Apache by yum -y install httpd I have change the owner to Apache. chmod -R 774 /var/www chown -R apache:apache /var/www CentOS is ...
1
vote
2answers
48 views

Why is /var/www/html writable only by root (by default)?

After setting up LAMP (on Debian) and then looking at /var/www/html's permissions, I was surprised that it is only writeable by root (drwxr-xr-x 1 root root). Presumably PHP scripts can create files ...
1
vote
0answers
23 views

Trace apache server activity for a specific http request

I have a cracker serving fake content to google bot from my Drupal site. They are able to generally bypass my CMS system but bootstrap it just enough catch http request and return a "cloned" page with ...
0
votes
1answer
49 views

Multiple virtual host in Centos 7 is not working together

My server information is Server version: Apache/2.4.6 (CentOS) Server built: Nov 19 2015 21:43:13 I am trying to configure virtual host for 2 different sites: biz.example.com and pin.example.com ...
0
votes
0answers
29 views

Cannot load libphp5.so undefined symbol: unixd_config apache service not start

When I trying to restart apache service getting below error: root@localhost:/# /etc/init.d/apache2 restart [FAIL] Restarting web server: apache2 failed! [warn] The apache2 configtest failed. ... (...
0
votes
0answers
28 views

Setting up Apache for displaying Images

I have a Python Flask application that will display the live streaming of the raspberry pi camera on the browser, when I directly run the program it is working fine but when I deploy it in apache2 ...
0
votes
0answers
16 views

Image is not displayed in apache server

I have deployed a Python flask app in apache2 server, which consists of an html file with tag, when I directly ran the program everything was fine, but when I deployed it in apache2 server only the ...
0
votes
0answers
12 views

Creating Aliases for Userdir Paths in Apache2

I am running an httpd server on Arch Linux, and would like to create an alias user directory for my user, so that both /~foo/ and /~bar/ will show the contents of /home/foo/. I have not found any ...
1
vote
0answers
39 views

Is my ModPagespeedSlowFileLatencyUs setting ignored?

I have put ModPagespeedSlowFileLatencyUs 1500000 on the top level of /etc/httpd/conf.d/pagespeed.conf, as recommended by various posts, but I'm still getting PageSpeed error messages like the ...
0
votes
1answer
25 views

Fail2ban Jail List

I'm new to Linux so please forgive me if I sound like a newb. Recently our website starting loading extremely slow when browsing publicly to FDQN. Using IP of the website it will load the main file, ...
1
vote
2answers
56 views

apache httpd is not able to connect to the internet

Original title: user apache is not able to use curl (connect to the internet). Changed after the answer became clear, to fit the problem and solution better. Intro I run a Apache2 (httpd) server for ...
1
vote
0answers
23 views

Where is module prefork.c settings on AWS EC2 LAMP stack?

I am trying to edit the apache prefork.c configuration on my AWS EC2 micro instance (LAMP). The module prefork.c settings: <IfModule prefork.c> StartServers 3 MinSpareServers 2 ...
-1
votes
2answers
82 views

using curl and shell script to restart apache

Iam want to restart the apache server, when its down.Hence i wrote like script below using curl and some if loop curl example.com si='curl example.com' if test si !=0 then service apache2 restart fi ~...
0
votes
0answers
17 views

Load Balance with a server running Red Hat and the other running Centos

I had two servers load balanced through Apache and mod_jk (virtual machines) A and B which both were running Centos 6.5 but later we moved server A and B to physical servers and next we moved the ...
0
votes
0answers
36 views

dsc-statistics-presenter: Apache2 403 Forbidden

I reinstalled a package called dsc-statistics-presenter on my Debian server. It worked fine with my previous installation but now I'm not able to make it work. Error 403, access forbidden. So, let me ...
3
votes
1answer
72 views

Basic Apache2 vhost configuration doesn't work

I have a litle problem with my virtual host configuration on Apache2. Context : I have a Raspberry Pi with Apache2 installed. I want to access to my test directory in : "/var/www/html/test". So I ...
0
votes
2answers
124 views

How to prevent Apache from consuming too much RAM

I'm running a http server based on ubuntu 16.04. Application is based on django (python) which is connected to apache via mod-wsgi. When I issue a command that consumes huge amounts of RAM, system ...
3
votes
3answers
67 views

rsync files with apache permissions over ssh

I'm running a rsync via apache to sync an assets directory rsync -avz -e 'ssh -l rsync -i /home/rsync/.ssh/rsync -o StrictHostKeyChecking=no' /var/www/html/site/Uploads centos@$IP:/var/www/html/site/...
0
votes
0answers
37 views

Make SOGo reachable for only one subdomain with Apache

My setup is pretty much straight forward. I have SOGo running with Apache2 and everything regarding SOGo works just fine. What I don't understand is, why my SOGo instance is reachable through all ...
4
votes
1answer
56 views

Why is apache reporting “client denied by server configuration”?

I'm running Fedora 23 with Apache 2.4 and PHP 5.6.27. Both Apache and PHP are installed from the standard Fedora repo. My problem is that despite setting Require all granted in my site's virtual host ...
1
vote
1answer
49 views

Apache query string rewrite not working

I need to rewrite a domain name in a query parameter in order to augment a proxy. The proxy basically is just a domain rewrite, but some of the responses from the upstream server include a query ...
0
votes
1answer
56 views

Why would accessing a PHP CGI file with GET fail (404) but with POST succeed (200)?

I have centos web server. Name: CentOS release 6.8 (Final) Kernel Version: 2.6.32-642.6.2.el6.x86_64 Apache version: Apache/2.2.31 PHP version: 5.4.45 [PHP Switcher] I was try to access link getting ...
0
votes
1answer
36 views

How to configure Apache Webserver to load GIF

I would like to understand how can i configure Apache webserver in a way that whenever someone sends a http request it should just load a 1x1 Pixel Gif.. Currently, response that we get is the text ...
1
vote
0answers
40 views

My mediawiki page displayed index of/ after updating to apache 2.4.23

I had this problem with MediaWiki after updating apache At first, i installed using yum and i had apache 2.4.6, php 5.4 on my Centos7 Then i want to update them to latest version which is apache 2.4....
0
votes
1answer
31 views

Which config file is fit for my example to config apache2?

Let's suppose a scene. domain name: xyz.com the domain parsed by third-party dns server: ns1.xxx.com IP address bound with domain: 123.123.123.123 apache2 was installed on 123....
0
votes
1answer
224 views

BeEF does not start in Parrot Security OS

I'm having problems, I wanted to follow tutorials on the beEF (Browser Exploitation Framework) tool, but it just does not run. When I start it by the terminal, it should show the control panel in the ...
1
vote
1answer
32 views

What file determines “# Registers:” entries in /home/ubuntu/.viminfo after apache2 restart [closed]

I posted this question in "Ask Ubuntu" but no replies. I have installed Apache2 on Ubuntu LTS 16.04. I looked at the /home/ubuntu/.viminfo file and it contained the following lines. # Registers: "0 ...
0
votes
0answers
91 views

httpd: Could not reliably determine the server's fully qualified domain name

We have a requirement to replace the existing certificate and also install the recent patch of content server in our content server which based on linux and the database is MAXDB. However Database ...
1
vote
1answer
17 views

View a directories groups and setup www-data as an admin of a directory to allow content deletes

I am trying to to view the groups that belong to a directory and to enable www-data to be an admin of a directory so I am able to delete files that are within it using php unlink functionality. I have ...
1
vote
1answer
52 views

How can a service with PrivateTmp=true access a unix socket in the /tmp directory (e.g. to submit Torque jobs from PHP running in Apache)

Sorry if the title is confusing. Here's the big picture: We have a webserver that performs scientific calculations submitted by users. The calculations can be long-running, so we use The Torque ...
0
votes
0answers
38 views

Why is my apache running in 8080 started by root?

I am running Apache in 8080 port. After starting the httpd, I noticed that the parent process is owned by root. [root@a ~]# ps -ef | grep httpd root 13480 1 0 08:07 ? 00:00:00 /usr/...
3
votes
1answer
249 views

What is the symbolic variable for “public address”?

Please forgive my ignorance for asking this question. I'm having a heck of a time discovering how to specify "public address" instead of hard coding and IP address. According to the Apache manual ...
0
votes
0answers
16 views

httpd.conf and two rules: order and chaining of (domain->site) and (http->https) redirect/rewrite?

We have read Server Fault's Redirect, Change URLs or Redirect HTTP to HTTPS in Apache - Everything You Ever Wanted to Know About Mod_Rewrite Rules but Were Afraid to Ask. We have also read Apache's ...
1
vote
0answers
54 views

symlink on directory permission denied

I've created a symlink shown here; lrwxrwxrwx 1 apache apache 33 Nov 4 11:55 blog -> /var/www/blog.mysite.com Which resides in the base of this directory /var/www/www.mysite.com/ If I ...
0
votes
1answer
36 views

selinux started blocking php “exec” calls after yum update

I've used the PHP exec command to issue lpr -P printer_name /var/www/html/somefile.pdf but after a RHEL system update (7.2 to 7.3), selinux has decided to start blocking these requests. selinux ...
3
votes
3answers
86 views

Apache not binding to port 80?

I am having issues with Apache. I just installed Centos and waant to create a webserver of my own. I am following the directions of "the perfect server for centos 7.2" and came upon this error on my ...
0
votes
2answers
50 views

Can't find `a2dissite` and `a2ensite` after building `apache2` from source on Mint17

After building apache2 http server from source (2.4.23) I don't have the a2dissite and a2ensite commands. Configure was: ./configure --with-included-apr --prefix=/usr/local/apache2 When I run: ...
0
votes
0answers
14 views

Apache version 2.0.65 apachectl is not working

I installed Apache version 2.0.65. Installation Process: cd /usr/local/src tar xvfz httpd-2.0.65.tar.gz cd httpd-2.0.65 ./configure --prefix=/usr/local/apache --enable-so --enable-module=so --enable-...