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
99 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
105 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 ...
1
vote
2answers
703 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
24 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
76 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
55 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
224 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
18 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
152 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
49 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
30 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
27 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
34 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
87 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
229 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
0
votes
0answers
30 views

Apache keeps loading the page

If the www directory is mounted from another server through NFS and there is some problem on NFS server , ( some NFS related service is stuck or stopped) , in the mean time if some page is accessed , ...
0
votes
2answers
409 views

How to install lampp (php7) on Manjaro?

I Tried following this guide, didn't work and it's the only guide I can find. I have php7-apache, apache, php7, mariadb, php7-mcrypt, all installed, either through pacman or yaourt, all have their ...
0
votes
1answer
98 views

Cannot access website externally, while being able to access it internally

The situation is as follows. An Apache-based site is accessible internally (from within its server) via curl, but not accessible externally (nothing, with an exception of ping, works: I have tried ...
0
votes
0answers
34 views

.htaccess file and 301 redirects

I have no clue on how to create .htaccess files, and so I'm afraid of doing mistakes. However I want a file that 301 (permanently) redirects to wordpress/index.php if the source of query is not ...
0
votes
1answer
52 views

.htaccess - Apache on CentOS 6 x64

I got a Linux CentOS 6 x64 VPS and I installed a website on it. I do not have a rich experience with Linux, however I successfully installed Apache and my website, which is a game panel to control my ...
0
votes
0answers
57 views

Creating users for RainLoop?

I have following this tutorial, and I am all set. I logged into to the Admin panel, and changed my admin password. I go to example.com/rainloop/ and cannot login. I guess I do not fully understand how ...
1
vote
2answers
42 views

Configuring Apache virtual hosts in extra file

I have access to a machine running linux. Apache2 is installed on it. I need to add 3 virtual hosts. In /etc/apache2/sites-available, there is a set of about 15 files displayed with ls -la. I was ...
0
votes
2answers
278 views

How to configure SSL for Apache2 on OpenSuSE 13.1

I have OpenSuSE installed on a virtual hosted Server, running multiple virtual websites. On normal http everything works fine. I now would like to run one of my virtual sites on https in addition to ...
1
vote
1answer
35 views

Apache - restrict simultaneous connections per directory?

Is it possible to restrict the number of possible simultaneous connections to a certain directory on my server? I have a public directory which I want to share many download-able files, yet its ...
-2
votes
1answer
199 views

E: sub-process /usr/bin/dpkg returned an error code (1) while updating php

I tried to update php to php5 and getting below errors. root@Ansible-VirtualBox:~# apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done ...
0
votes
0answers
158 views

How do I add a Redis Cluster to a Pacemaker CentOS 7 Cluster?

I need to set up a CentOS 7 web server cluster that is able to manage user sessions while also load balancing across the nodes in the cluster. Towards this end, I have transcribed instructions from ...
0
votes
1answer
183 views

Apache “Module mod_alias does not exist”

I installed apache on Debian: sudo apt-get install apache2 apache2-utils and ran a2enmod cgi alias env I want to use ScriptAlias command. However I get the message Command is missing. I find ...
0
votes
0answers
53 views

Creating website with apache2, not showing index.php

Im setting up my first Linux / apache web server for my website. Im following this tutorial: https://www.linode.com/docs/websites/apache/apache-web-server-ubuntu-12-04 so I have dont everything what ...
1
vote
1answer
70 views

Forward code.domain.com to specific server?

I have the classic Multiple Servers 1 IP trouble Except I am using ESXi (s1) to host to Server VMs (VM1, VM2). What I'm trying to accomplish is this: When Someone Goes to mydomain.com they get S1-VM1 ...
0
votes
0answers
30 views

X-Robot-tag noindex not appearing in header

I am trying to include the following in my response header to all resources in multiple directories (dirone/dirtwo/dirthree/direfour) from an Apache server. X-Robots-Tag: noindex, nofollow In my ...
0
votes
1answer
80 views

Running SSH command from PHP gives sudo: no tty present and no askpass program specified error even though NOPASSWD settings are done

I am using LAMPP to run apache server. From a php file I am executing a python script which executes ssh, scp commands. But I am getting error: sudo: no tty present and no askpass program specified ...
2
votes
0answers
37 views

Fatal error: Call to undefined function gzopen() in /etc/apache2/htdocs/sites/all/modules/smart_ip/includes/smart_ip.utility.inc on line 454

I'm using centos 6.7, http 2.4.17, mysql 5.1, php 5.5.30. web page is working fine but at bottom it is giving below error. Fatal error: Call to undefined function gzopen() in ...
1
vote
1answer
54 views

Apache 2.4 basic auth don't work

i have a problem with basic auth to apache 2.4, i have this line: <VirtualHost *:80> ServerAdmin email@email.com DocumentRoot /var/www/html/foo ServerName my.domain.com ...
1
vote
0answers
21 views

Reducing Apache-Spam

i got a hack-attack and all my wordpress instances got modified. Now it seems that i have fixed everything and all my "backdoor-shells" and wordpress-instances are back running secure (hopefully). ...
2
votes
2answers
112 views

Find IP owners from apache log file

I have the top 10 IPs making the most requests and the number of requests made from Apache log file example. I used this bash command to handle a request: cat access_log|cut -d' ' -f1|uniq -c|sort ...
0
votes
0answers
48 views

Linux, LAMP, & Nagios server

as i'm somehow new in linux, and i'm required to install a monitoring system to our company using CentOS7 with LAMP & the monitoring Application NAGIOS. after installation everything goes well, ...
0
votes
3answers
189 views

Incoming traffic on port 80 not working

I am attempting to set up an Apache server on my arch linux installation. This machine has an ethernet connection with a public IP address. I have tried repeatedly to connect from outside computers ...
1
vote
3answers
60 views

Apache uses wrong user

For some reason when I upload to my website, Apache saves the file as user www-data and group www-data, rather than user myusername and group www-data. How do I fix this?
1
vote
1answer
419 views

Page not found but page is there

What am I doing wrong? When I search https://teampass.domain.org/ I get a blank screen. when I search https://teampass.domain.org/teampass, I get the following errors. Error on Chrome: The ...
1
vote
1answer
316 views

Unknown Authz provider with Shibboleth on Apache 2.4

Currently I am dealing with the migration of a PHP web application from Apache 2.2 to Apache 2.4. This application is SSO-enabled, by using Shibboleth in order to manage the authentication process. ...
1
vote
2answers
89 views

Specific user account for Apache in the /var/www directory

I will explain as best I can. On my previous server my friend set up a user called webslave. This user's home directory was /var/www. When I would use FISH protocol to transfer files (using ...
0
votes
0answers
13 views

Apache22 on OpenIndiana

Im new user here but i follow you all the time because i am new on solaris (OpenIndiana) and now i need help with permisions because I am getting the 403 Forbidden error: I see that my version on ...
0
votes
0answers
16 views

AWS: nginx as LB apache as backend

I'm developing a new web platform for my business on AWS, the current configuration uses nginx+ as load balancer and some apache instances as backend. With the service of autoscaling I'm able to ...
3
votes
3answers
132 views

Redirect subfolder to another local IP in apache [closed]

I've got a raspberry pi working and being accessible through a domain, which is asada.net. It serves web pages using apache 2.2.22. Besides, I recently bought a NAS which has a web page in a local ...
1
vote
1answer
1k views

Trying to restart apache using Vagrant - “The apache2 configtest failed”

I have setup Vagrant (details below) and am just trying to start Apache so that I can get to a point that I can actually see a site in a browser, however when using sudo service apache2 start, I ...
1
vote
1answer
118 views

Need to grab IP of visitors from the Apache logs

I want to store the IP of the visitors to my website, and I want to use PHP. Should I use cron for it or how will be the visitors' IP will be automatically stored?
0
votes
2answers
66 views

Apache map a port to a public directory

I have this directory in a vm /www/app1 and I want to be able to go to http://192.168.1.1:7778 and go to that directory how do I configure that using CentOS 7 minimal install? I just went through ...
1
vote
0answers
126 views

apache server-status 403 forbidden azure centos vm

I get 403 forbidden for http://testapache.cloudapp.net/server-status. Below are the following exact steps I have followed. I created a new centos vm. Then ran yum install httpd Opened ...