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). Generic webserver related questions should use the tag: webserver. Few of the other Apache related projects have their own tag, don't use ...

learn more… | top users | synonyms

1
vote
1answer
138 views

Restart Apache after PHP update?

One of our Amazon Linux servers has php56 installed, which is not the default PHP installation. Quite often I see updates for this package, while on other server PHP is not updated. Do I need to ...
0
votes
2answers
73 views

apache basic authenticaion

I have enabled basic authentication for one of the directories on website. The code has been added in the httpd.conf file. The user and passwords have been added in the /etc/passwd file. The same ...
1
vote
2answers
77 views

99% file download

We have server under Ubuntu 12.04 with Apache HTTP 2.2 installed there. Kernel 3.2.0. Faced with weird behavior during dowloading some files. Virtualhost config: <Directory /var/www/name/*> ...
0
votes
1answer
41 views

ErrorDocument not working with .htaccess file

I am trying to use a .htaccess file to setup specific behaviors for one directory. My .htaccess is as follows: ErrorDocument 401 /var/www/secret/logging.php AuthName "My Password Protected Site" ...
0
votes
0answers
107 views

mod_wsgi with Apache ignoring python-path

I'm trying to run mozilla-firefox-sync-server with apache 2.4.17-3 on my Arch Linux server, following this guide. Here's a part of my /etc/httpd/conf/extra/httpd-vhosts.conf file. <Directory ...
0
votes
1answer
161 views

Xampp fails to start on linux mint

i had xampp working earlier on linux but i had phpmyadmin issues so i decided to reinstall everything i removed opt/lampp and Downloaded a newer version of xampp from their site now i try to start ...
1
vote
0answers
124 views

Apache SSL timeout is not matching settings

I have a CentOS 6.7 apache Server version: Apache/2.4.7 (Unix) server with both http and https ports configured. They are configured the same, except for the SSL specific settings. The most relevant ...
0
votes
1answer
248 views

Fedora 23 Apache and PHP not working

I am struggling to get an answer to this. I have Fedora 23 install, in place upgrade from Fedora 22. When I go to http://localhost I get a list of files and folder and not the Fedora Test Page as it ...
0
votes
2answers
30 views

Apache CGI Workflow

I am trying to understand the workflow for CGI. So for example, say I use a unix shell script with CGI, what will be the sequence of steps executed to run this script when a client sends a request to ...
0
votes
0answers
25 views

How to broadcast voice from USB microphone to apache?

I have a webcam and a microphone. I wan't to send both, sound and video to my index.php so i can see the video from the camera and hear the sound from the microphone. I already managed to stream the ...
0
votes
2answers
91 views

Apache 2.4.10 page not displayed

I'm not a big expert in Apache and I facing with a particular problem. I have 2 server where in the first I run Debian 7.9 with Apache/2.2.22, in the other one I have Debian Apache/2.4.10. In both ...
0
votes
1answer
322 views

Unable to install mod_pagespeed on Apache 2.4

I have installed Apache 2.4 on the Red Hat Enterprise Linux Server release 6.7 (Santiago) by following these steps Step1 cd /etc/yum.repos.d/ wget ...
0
votes
1answer
100 views

How to update apache, mysql, phpmyadmin and php?

I have my own web server running on my raspberry pi, and all my programs are outdated. I would like to update my PHP, Apache, MySQL, and phpMyAdmin. Can anyone tell me how to update all of these;? ...
0
votes
2answers
195 views

why isn't .htaccess redirecting requests on CentOS 7?

A web app running on CentOS 7 with Apache 2.4 recently changed its domain name from olddomain.com to newdomain.com. The structure of the app at the newdomain.com is different than on the ...
0
votes
1answer
12 views

AccessLog does not exists?

I am a new user here and have problems with apache server: error which I see first time on line 1016: I have no idea what to do...
1
vote
1answer
287 views

modsecurity rule for blocking wordpress / joomla admin login - others

I have an old rule for ModSecurity 1.x to block admin brute force attacks, and only allow them in the internal network. When I migrated to 2.x, it stopped working. Also the networking ipmatch rules ...
1
vote
0answers
20 views

Apache's sudden drop of requests

My server was working fine until a couple of weeks ago. All of a sudden, I started getting error notices from PHP. Lost connection to MySQL server at 'reading authorization packet', system error: ...
0
votes
0answers
134 views

Apache httpd starts but enters failed state on CentOS 7

I'm new to Linux and i have some problems with restarting httpd after creating Virutal hosts. The service is running but i am unable to restart it. [webmaster@erichermansson conf.d]$ sudo systemctl ...
1
vote
2answers
224 views

Can't get Perl FastCGI script to run on Apache Server: Error 500

I'm trying to run an Apache server that executes some scripts over fast CGI, but I can't figure out for the life of me how to actually get it to work. My problem in particular is the "Error 500: End ...
3
votes
1answer
113 views

Access a file in PHP through a symbolic link from a user that normally doesn't have permission

I have this website, where if the user submits a form, a python script is executed through a php page, and the python script creates a zip file and should offer it to the user for download through a ...
1
vote
0answers
56 views

Apache, can't link to Home directory, Alias does not work

I am trying to make a folder in which I can build websites (using php). I have switched from a Windows system where I was using Uniserver (http://www.uniformserver.com/) which is a setup with MySQL, ...
0
votes
1answer
326 views

“Forbidden: You dont have acces” - Still occuring

Heyho, I know, that this question was probably asked several times before and I read many of these solutions, but none of them helped me out. I still get: Forbidden You don't have ...
1
vote
1answer
29 views

Apache status connecting to wrong host

I'm trying to get the status of my Apache server with the ./apachectl status command. I get the following in stdout: Looking up 127.0.0.1:30240 Making HTTP connection to 127.0.0.1:30240 Alert!: ...
1
vote
1answer
2k views

Why is apache giving DNS lookup failures?

A CentOS 7 web server has tomcat serving up war files behind an apache httpd reverse proxy. This works perfectly when the WAR files are all server-side code. But when client side code (AngularJS in ...
0
votes
1answer
140 views

How do I directly expose apps running on a CentOS 7 web server?

How can I open a port and directly access a webapp running on tomcat on CentOS 7? Tomcat is running behind an apache httpd reverse proxy, but I want to directly access the apps running in tomcat by ...
1
vote
1answer
440 views

Apache and systemd

I've just started using Debian 8 which has introduced systemd. I'm not interested in the politics around SysV vs systemd, but I am confused, especially around Apache (2.4). There are now two ways to ...
1
vote
2answers
177 views

How can I reach an open & listening port on Linux?

After forwarding the port I wish to open, I cannot seem to connect or get any data to this port. The PHP CLI software I have written is listening to the port actively on Ubuntu 14.04. Part of the code ...
1
vote
3answers
71 views

The Apache2 configtest failed

Can anyone help me with this error. [Failed] starting web server: apache2 failed! Output of config test was: Chown: changing ownership of '/var/lock/apache2.Nxr1S1Hr6b': Operation not ...
0
votes
3answers
24 views

Verify SSL for local computers

I have a small business network and for this network, one computer is DHCP-, DNS- and web server. It uses local domains like machinary.ao or resources.ao I'd like to use ssl. Computers and network ...
0
votes
0answers
25 views

Apache PostreSQL database server only

I was wondering if it's possible to use apache to make a postgresql database available for connections from the web without using a website to interface with the database. Instead of having a webpage ...
0
votes
3answers
214 views

Change documentroot on Apache 2.4 [closed]

I knew how to do it on Apache 2.2, however, how do I change the document root on Apache 2.4? I run Debian 8.20 on a Virtualbox VM as my apache server and Ubuntu 15.04 as my host OS. I tried to change ...
1
vote
1answer
222 views

Tomcat Homepage (localhost) doesn't showup

Assuming, I've successfully installed Apache tomcat in RHEL 7 followed almost similar instructions in here, except that I've tomcat8 user, assigned permissions and generating a keytool as ...
1
vote
2answers
39 views

How does Apache resolves the requested virtual host?

I am running several virtual hosts on a VPS running Apache 2.4. I registered a domain at my VPS provider OVH: 55eastmonroe.software. I want the subdomain www.55eastmonroe.software to point to the ...
1
vote
1answer
33 views

Keeping services on EC2 alive

I'm using a MySQL database and Apache server with an AWS EC2 instance running AWS Linux. I start them both using the service command, but I am not familiar with any other tool that would come ...
0
votes
1answer
52 views

My websites are not visible from Apache on localhost

I have installed Ubuntu-based Mint Mate 17.2 distro. I have configured to my taste. Everything is working fine. I have also installed Apache, PHP and MySQL individually using sudo apt-get install. It ...
0
votes
1answer
69 views

According to socket statistics Apache listens only on IPv6, but actually serves IPv4 as well

ss -lnp in server shows following information: # ss -lnp Recv-Q Send-Q Local Address:Port ...
0
votes
0answers
260 views

Undefined symbol: ap_unixd_config

I accidentally tried to upgrade to Apache 2.4 from 2.2, I've mostly downgraded, but now I am getting the following error: Cannot load /usr/lib/apache2/modules/mod_wsgi.so into server: ...
0
votes
2answers
822 views

Sub-process /usr/bin/dpkg returned an error code (1)

I understand that this is a generic error message, but I'm having trouble deciphering what's going on - why doesn't Apache want to update? (Reading database ... 50302 files and directories currently ...
2
votes
0answers
19 views

RHEL / SELinux - Apache unable to write to a directory it can write to [duplicate]

I have a RHEL 7 machine running an Apache web server with multiple virtual hosts on it. I've recently run into an issue where I am unable to upload media, e.g. images / pictures / video, to my machine ...
2
votes
0answers
59 views

Apache 2.2 and php-fpm directory configuration

I have installed apache 2.2 and php-fpm. In httpd.conf: DocumentRoot "/var/www/local.site/public_html <Directory /> AllowOverride None Order Deny,Allow Deny from all ...
0
votes
1answer
192 views

Apache redirect to https if the request is not from localhost

I have a Centos 6.7 with apache 2.2.15. I want to redirect all traffic from port 80 to 443 with one exception. The traffic who come from localhost I want to remain on port 80. Now I use this config ...
1
vote
2answers
57 views

Reformatting Apache RewriteRule

I have these variant of urls RewriteRule ^/trendy/the-reason-for-example/? http://www.example.com/trendy/the-reason [NC, L, R=301] RewriteRule ^/lol/2015/10..._for-example ...
1
vote
0answers
59 views

WebDAV + davfs — error copying large files

I am using Apache on server, with WebDAV. On client linux, I have davfs2 mounted folder. When I try to access small file, everything works fine. When I try to access image file size of 2Gb, I am ...
0
votes
1answer
45 views

Apache loadbalancer not serving requests intelligently

My Apache LB is serving requests to a failed node as well. Am I missing something? worker.list=node1,node3,loadbalancer. worker.node1.port=8009. worker.node1.host=10.0.0.17. ...
0
votes
0answers
79 views

Symbolic link not allowed or link target not accessible: /home

I cannot access http://localhost/~user. The error message is: Symbolic link not allowed or link target not accessible: /home I do not have a /home. In my case it's: /RAID/home/*/public_html I ...
0
votes
1answer
385 views

Check if Apache is Installed in Amazon Linux AMI

How can I check if Apache is installed in my Amazon Linux AMI, which is based on RHEL 6? In Ubuntu, I use: dpkg --get-selections | grep apache But that doesn't work in this case. Note, I need to be ...
1
vote
1answer
24 views

Interactive bash script

I'm writing a script that shuts down the Apache service, performs a function, and turns it back on. I'd like to get some type of interactive confirmation for each process. I'm not familiar with ...
1
vote
2answers
112 views

Why does Kali Linux expose httpd on port 3000?

I scanned my local network and found that Kali linux was exposing apache2 on port 3000. Its a pretty much vanilla installing running inside Virtualbox on an OSX host Is this there by default and why ...
0
votes
0answers
27 views

Apache Load balancer sending traffic to failed nodes

I have an Apache load balancer configured for 2 nodes. Upon stopping one of the nodes the request is still going to the stopped node. Can anyone please help. worker.list=node1,node3,loadbalancer ...
1
vote
2answers
45 views

Apache access.log getting updates after renamed

I have a file on my Ubuntu system called access.log that file get all my errors on my website. The problem is that file its to big right now so I renamed for access-old.log and create a new file ...