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
23 views

umask not working as expected in other than home directory

I try to set up a deployer user for CI with Teamcity. I followed the instructions from this question on ServerFault: What's the best way of handling permissions for apache2's user www-data in ...
1
vote
0answers
21 views

Centos 6.6 box with single wordpress site - out of memory: kill process httpd repeatedly

So I have a Centos 6.6 box running as a LAMP stack. PHP 5.3.3 | Apache 2.2.15 | MySQL Server 5.1.73 This box is a VM running on XenServer 6.5, It has 4Gb memory available. total ...
0
votes
1answer
47 views

Clarification: permission and owernship by the apache process of web root

I've read through a lot of articles about correct/secure (1) ownership and (2) access permissions for directories and files in a web accessible directory served by apache (e.g. /var/www/). Either I'm ...
1
vote
1answer
47 views

Adding user to ownership in addition to another user [closed]

I had some problems with permissions, the programmers of my website wanted me to add the admin user to the apache group and then set some permissions. My knowledge of Linux is quite limited, so I ...
0
votes
0answers
11 views

Serving two hosts from a single port [duplicate]

I have the following situation, not sure if the headline corresponds to the issue at all. I have two physical servers with Apache running on them, serving two small test websites behind a router. ...
0
votes
0answers
20 views

Setting up an HTTP server on two mounted drives

I'm trying to set up an HTTP server on a Debian machine, but my configuration requires a weird setup. Basically this will be a data storage/retrieval server. Here is the setup: Two drives (drive1, ...
0
votes
1answer
22 views

How can I disable phpLDAPadmin without uninstalling it?

I installed phpLDAPadmin and it works via http://.../phpldapadmin Is there any good way to disable phpLDAPadmin without uninstalling it and later I can turn it on only when I need to do?
1
vote
1answer
47 views

Apache server at new AWS EC2 instance is not reachable

I am not able to access my web server I recently set up on Ubuntu AWS EC2 instance: client:~ user$ curl yyy.yyy.yyy.yyyy curl: (7) Failed to connect to yyy.yyy.yyy.yyyy port 80: Operation timed out ...
0
votes
2answers
80 views

Apache shows Blank page for PHP

I've installed a fresh version of Centos 7,I'm new to Linux. I installed Apache using yum -y install httpd and i can open the test page and everything is ok with it. after that i installed ...
0
votes
0answers
40 views

NameVirtualHost address is not supported, proceeding with undefined results

Apache Details Server version: Apache/2.2.15 (Unix) Server built: Aug 28 2015 22:18:57 Varnish varnishd (varnish-3.0.7 revision f544cd8) Copyright (c) 2006 Verdens Gang AS Copyright (c) 2006-2014 ...
1
vote
0answers
55 views

mod_mono on SLES 12.1 fails to encrypt ASP.Net web.config

I am trying to migrate an ASP.Net (2.0) VB web app from a SLES 11 server to a new SLES 12 server. Unfortunately, mono is no longer supported by Novell / SUSE / NetIQ folk. This is my first time ...
3
votes
3answers
94 views

Is giving all permissions to www-data group a good idea?

I constantly have problems with read & write & execute permissions by Apache/me. There is a user "konrad" (it's me) in "konrad" group, and there is a user "www-data" in "www-data" group used ...
0
votes
1answer
45 views

apache configuration problems, last vhost loaded becomes wildcard domain

I have 2 virtual hosts loaded from 2 separate conf files in /etc/httpd/conf.d/ when I point my browser to vhost1.test.com it loads the proper index.html as does vhost2.test.com. However the web server ...
1
vote
1answer
30 views

Calculate hits within a timespan from log file [closed]

I need to use UNIX utilities that implement out-of-core divide-and-conquer algorithms so to decrease the amount of virtual memory used (cap of 1 mb). I have a large data set that is an apache log ...
0
votes
1answer
878 views

apache2.service Failed Because the Control Process Exited with Error Code

I am using Ubuntu 15 64-bit: $ uname -a Linux {hostname} 4.2.0-16-generic And I have installed apache2: $ sudo apt-get install -y apache2 I have a mod_xxx.so, which I have placed into: ...
1
vote
2answers
52 views

Using Grep Command Without Specifying a Certain Directory [closed]

Can you use the grep command without specifying a directory path afterwards? Example: $ sudo grep "filename" / I have also tried this: sudo find / -type f grep -l "filename" Still no luck. ...
0
votes
0answers
14 views

Running apache on offline system

I want to install apache using yum on CentOS 7 and check its shared libraries with ldd and pack the binary and files in apache's rpm and those libraries with full paths and transfer them to offline ...
0
votes
0answers
36 views

Why is apache rendering internal ip?

I have apache running on 192.168.0.2 (localhost), and a NAS on 192.168.0.32. When I set apache to listen to port 80, attempts to connect to my external ip produce a connection refused error, while ...
1
vote
1answer
42 views

“attempt to invoke directory '/srv/http' as script” error with “SetHandler application/x-httpd-php” enabled in apache config on archlinux

when I try to list directories through Options Indexes-option with SetHandler application/x-httpd-php enabled in my apache-config I get a attempt to invoke directory '/srv/http' as script error ...
1
vote
0answers
45 views

fresh Apache2 install won't start

Just installed apache2 in my Kali 2016.1, and tried to run service apache2 start but it failed. Ran journalctl | tail and I have absolutely no idea what any of it means. I can't paste it because it's ...
1
vote
2answers
212 views

httpd (apache2) server doesn't parse *.php files but displays them as text with installed php-module on arch-linux

I'm trying to set up my httpd (apache2) server on archlinux. Everything works now except for the parsing of my php files. I followed this article: ...
1
vote
1answer
167 views

Use HAProxy to tunnel SSH through https

I have a server with Apache webserver on it and many websites running on http (port 80) and https (port 443). I would like to use a proxy on port 443 in between Apache and the user. In this page, ...
0
votes
0answers
13 views

Apache2 uncaught Exception 500 error

I have installed Apache2 on my Debian server with PHP and MariaDB. I use PDO to connect to my MariaDB database. But whenever I get an exception but don't try-catch it, I get an 500 server error. Is ...
0
votes
0answers
19 views

Setup vhost for subdomain

I am new to Linux and vhost, so I am sorry in advance if this question is stupid :D. I am trying to make vhost, but it is kinda semi working. I am able to run the index.php and load home page, but ...
0
votes
0answers
68 views

Forward and reverse proxy to tunnel ssh through Apache

I have an Apache 2.4 server (on Debian Jessie) with multiple websites running on it with and without SSL. In the hotel where I am now, port 22 seems to be blocked, but I would like to connect to my ...
1
vote
3answers
80 views

preventing dos attack in apache webserver

This is the version of apache we're using - httpd-2.2.15-39.el6.centos.x86_64 We recently had our website down due to DoS attack and hence started exploring iptables, and how to use it to prevent DoS ...
0
votes
1answer
40 views

Directory Listing disabled despite Options +Indexes in configuration

I have 3 vhosts on a server, I want one of them to have directory listing enabled. This is the configuration file for it: <VirtualHost *:80> ServerName me ServerAdmin me ...
0
votes
0answers
20 views

Why isn't my mod_authnz_external not working?

Been away from Apache far too long... and getting reacquainted is tough :-P I am trying to use mod_authnz_external (using pwauth) to secure my Apache 2.4 site. So far, everything I've tried isn't ...
1
vote
1answer
115 views

apache2 no listening sockets available, but nothing listening on the port

I'm trying to setup SSL on an ubuntu server. I've generated a key and certificate with the following commands openssl genrsa -out mydomain.key 1024 and openssl req -new -key mydomain.key -x509 -out ...
1
vote
1answer
113 views

mongo.so working fine with php apache ini but not with php cli

I added the mongo.so extension to /etc/php5/apache2/php.ini and it is loading perfectly in php info. But it does not work with /etc/php5/cli/php.ini. When I try to run composer for adding mongodb ...
0
votes
1answer
31 views

pattern regex for apache rewrite

I have a bunch of URLs counting to thousands i need to redirect and there are thre main patterns in URL first pattern There is a dash - starting the title url and want to remove that dash e..g ...
0
votes
1answer
45 views

Webdav access to /var/www

Im trying to setup webdav to the /var/www directory on debian 8.4 I can setup webdav to access a subdirectory of /var/www such as /var/www/webdav but when i remove the directive from the apache conf ...
0
votes
0answers
5 views

Running lampp at boot not working

I had a lampp installation working fine, but after some mistakes I decided to reinstall it, but now when I reboot it still starts but I have 2 websites: - the first one has no domain - I call it by ...
1
vote
0answers
33 views

Apache2 process is repeating and website is down

My website is down i get error in browser The connection was reset And when I enter this command sudo service apache2 status I get this ● apache2.service - LSB: Apache2 web server ...
3
votes
1answer
111 views

Apache directory configuration when installing nominatim

I have installed a Nominatim server sticking to this excellent walk through. However, I am not able to get the apache configuration to work. my default-conf is specified as follows: ServerName ...
0
votes
0answers
78 views

high cpu load on apache2

Having some times trouble with high load on CPU due to IO wait caused by apache2 process (Debian 7.9). In logs I was not able to found any critical information apache 2 error log: [Sun Feb 14 ...
0
votes
0answers
70 views

Enabling SSL on ubuntu with apache2

I'm trying to get SSL working on my ubuntu VM. I'm going through the steps in this link but when I got to reload the apache service after enabling default-ssl.conf I'm getting errors in the log: ...
0
votes
0answers
173 views

You don't have permission to access /phpmyadmin/ on this server?

So i just installed phpmyadmin on my server. And then when accessing the Ip-address/phpmyadmin. It said: You don't have permission to access /phpmyadmin/ on this server. Here's part i configured ...
1
vote
1answer
127 views

Apache can't access file while is has permission

I don't want to allow others read access, so I have added my user and the apache user to a group called apachme and then set that group to all the files and folders I want apache to have access to, ...
2
votes
2answers
145 views

Help to install Apache Module mod_systemd

I would like some help with installation of Apache Module mod_systemd. I am using Arch Linux. I have no idea where and how to start, any hint is also appreciated
0
votes
1answer
71 views

Is AWS AMI 'apache' equivalent to Ubuntu 'www-data'?

I'm trying to convert a Chef script thats used in AWS OpsWorks for an Ubuntu system to a script I can use with my AWS OpsWorks setup for my Amazon Linux AMI installation. Their Ubuntu Setup: sudo ...
0
votes
2answers
156 views

Apache/2.2.22 You don't have permission to access / on this server error

I tried all suggestions about permissions I could find but without luck. Apache seems to start normally [ ok ] Restarting web server: apache2 ... waiting .. Access log says 192.168.15.51 - - ...
0
votes
1answer
37 views

Set Document Root for site?

Apologies up front for the silly noob question .... I have a CentoOS 6.7 server set up with Apache. I can confirm it is working correctly - say the machine's IP is 123.456.789.123, I can navigate to ...
0
votes
1answer
21 views

Domain is redirected to another domain in same droplet

I am new on Debian, Built server on Digital Ocean with Debian OS. I successfully added two domains into one droplet: mysite.com anothersite.com Created new dir: ...
0
votes
1answer
18 views

How can I get Wordpress functioning from its new address?

I have a Wordpress installation which I wish to redirect from http://dev.example.com to https://example.com I can get an unstyled page like the below; the browser baulks at loading HTTP content for ...
0
votes
0answers
52 views

Apache Benchmark post-file

I am investigating apache benchmark tool on my Linux machine (CentOS7) but I am a little bit embarrassed. I would like to test my apache webserver with POST request. My index.html page in ...
0
votes
1answer
20 views

Add shared module to apache CentOS7

I have practiced with my apache 2.4.6 on CentOS7 and I have tried to add shared module. I can list my compiled modules using this command httpd -l. All shared modules is located in /etc/httpd/modules. ...
0
votes
3answers
147 views

How to install Nginx while Apache running?

I am trying to install nginx as a backend proxy for Apache and I get this errors: === Install Nginx from official repositories === Loaded plugins: fastestmirror, remove-with-leaves, tsflags, ...
0
votes
0answers
36 views

HTTP Session Management while using Nginx as in “Round Robin” mode Load-balancer?

I'm trying to load-balance "2 Web Servers (running Apache/PHP)" by putting Nginx in front of them. But i need to use Round Robin algorithm but when i do this, i can't manage to have the stable ...
1
vote
2answers
360 views

Disable and Enable modules in apache CentOS7

My goal is to optimize my apache server. At first I want to disable some modules on it. I was surfing over the Internet and didn't find anything dedicated to apache which is installed on CentOS7. Here ...