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

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
17 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
52 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
75 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 ...
1
vote
1answer
84 views

iptables rule explanation

I was looking to update iptables in our webserver which would prevent DoS attack to an extent. 1) Related to web traffic, below are the iptables rules i found. iptables -I INPUT -p tcp --dport 80 ...
0
votes
1answer
33 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
17 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
90 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
0answers
91 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
40 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
1answer
24 views

Tomcat (probably) closes before ROOT directory is entirely populated

on a Ubuntu 12.04 machine, Tomcat 7.0.22 , I have a bash script that copies a ROOT.war file to a specific library, at which point Tomcat deploys it to a directory called ROOT. A few lines later, the ...
3
votes
2answers
55 views

Give /var/www files access to www-data and my user?

Any folder than I want my php code to be able to save in or any file I want it to be able to modify has to be owned by www-data. This is annoying because everything I create or want to edit without ...
2
votes
2answers
53 views

apache failover solution

We have 2 Apache Web-Servers which is getting replicated with rsync command, when the primary host is down, we manually change the IP and make it up. Now we are trying to find way to do an ...
1
vote
0answers
27 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
86 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 ...
1
vote
2answers
36 views

I am not able to connect tomcat in my centos browser but it starting in terminal

When I typed ./startup.sh i am getting: Using CATALINA_BASE: /home/ashok/apache-tomcat-7.0.56 Using CATALINA_HOME: /home/ashok/apache-tomcat-7.0.56 Using CATALINA_TMPDIR: ...
0
votes
0answers
72 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
53 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
130 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
103 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
122 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
59 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
129 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
36 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
38 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
18 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
136 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
33 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 ...
0
votes
2answers
232 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 ...
1
vote
1answer
70 views

apache Virtual Host Configuration CentOS7

My host machine is Windows 7 and guest machine is CentOS 7. I am a new to Apache and I am trying to create VirtualHost on CentOS7. I have read a lot of documentation and a lot of answers over ...
0
votes
0answers
81 views

Apache 2.4.10 Debian 8 Reverse proxy not working

I have enabled sudo a2enmod proxy sudo a2enmod proxy_http sudo a2enmod proxy_wstunnel virtualhost.conf file contents Any idea why it's not working? ProxyRequests off <Proxy *> Order ...
0
votes
2answers
483 views

How do I install an older version of Apache httpd in CentOS 6 using YUM

How do I install an older version of Apache httpd on my CentOS 6 machine? When I do: # sudo yum --showduplicates list httpd | expand I get: file:///media/project/repodata/repomd.xml: [Errno 14] ...
0
votes
1answer
13 views

Apache Serve Browser Application

Ok so this might sound crazy, but what I want is to be able to go domain.com/chrome and have a browser open in my browser. The purpose is basically a proxy when Im in a Net-Nanny environment. Am I ...
0
votes
1answer
24 views

Apache Listening Port

I need for some help. I'm trying to set-up a web interface for a cloud system and I have used this conf (provided by the vendor) <VirtualHost *:443> ServerName sxweb.foo.com ServerAdmin ...
0
votes
1answer
23 views

Apache issues on Debian

I'm running Debian 8 with Apache 2.4 and it's installed in /var/www/html but when I go to my domain it shows index of / and my html folder. instead of my index page. Edit* index.html file is located ...
0
votes
1answer
68 views

no iptables, no selinux, port 81 in virtualhost still not working

I try to open port 81 as a virtualhost. after setting apache, I can CURL localhost:81 from local machine and get response(yes it was listening port 81). However, when visit the same address from ...
0
votes
2answers
53 views

Apache2 home directory on Fedora

I want to serve docs on my dev server from my home directory. This is a private laptop, so I'm not really concerned with security as far as you are with most servers / web hosting situations. The ...
1
vote
3answers
186 views

Apache 2.4 SSL Config - Server rejects requests with HTTP 400

I'm running into some trouble with my Apache 2.4 config. Accessing https://subdomain.my-domain.com always returns this http 400. Bad Request Your browser sent a request that this server could not ...
0
votes
0answers
16 views

Apache 2 Debian SSL Certification not exist

I'm not really good with Apache and that is the reason why I'm writing to you. I have installed a web server in SSL following some indication from the software vendor. When I restart the service I ...
0
votes
0answers
116 views

Changing the port letsencrypt tries to connect on

So, one of my servers is behind NAT, and since there is already a publicly accessible apache server going on my LAN, I decided to access it from the outside with different ports, and remap them to the ...
1
vote
1answer
43 views

Apache Web Server Load Testing ( Running on Centos6) [closed]

How can i easily test how many requests my web server ( Apache) setup can handle without dropping a connection or timing out. Is there any simple bash script or i have to use some sophisticated ...
0
votes
0answers
25 views

mod_evasive : White-listing causing to not having Access Logs?

I'm using mod_evasive with Apache. And there is an directive to whitelist the IP(s). Like: DOSWhitelist 127.0.0.1 DOSWhitelist 10.0.*.* DOSWhitelist 100.200.*.* This is fine because we need to ...
0
votes
0answers
19 views

Apache and SSLVerifyClient

Please excuse any dumb statements regarding this. I am very new to Apache and to HP-UX. I am a SQL Server DBA and ended up on this project. I am working to try and implement SSL with Client Verify ...
1
vote
1answer
32 views

Long running script stops sending output to file

I have a script that I'm using to capture some status of the server at 10 second intervals. The script is as follows: for (( ; ; )) do /usr/local/apache/bin/apachectl fullstatus sleep 10 ...
0
votes
1answer
68 views

apache webserver connection timeout problem

I have two host machines First Host Machine running on vmware , i created virtual machine based on centos 6.7 32bit . the virtual machine has two network interfaces eth0 for public connection (NAT) ...
0
votes
1answer
214 views

install apache 2.4.17 or later for debian 7.9

Is there a simple way to install apache 2.4.17 or later for debian 7.9? I need for http2 but debian 7.9 installs only apache 2.22