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

Printing to ubuntu client via network, using php that reside in windows 7 webserver [closed]

I plan to change my windows 7 client to ubuntu 14.04 LTS. The client has a local printer (Epson LX-310) that is used to print an invoice in web app environment built using apache with php (the web ...
3
votes
1answer
126 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
87 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: [...
1
vote
1answer
162 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, ...
0
votes
1answer
96 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
208 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 - - [12/...
0
votes
1answer
38 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: /home/user/www/mysite.com/...
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
87 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 /var/www/...
0
votes
1answer
21 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
164 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, ...
1
vote
2answers
570 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
148 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 ...
1
vote
2answers
1k 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
81 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
63 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
288 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
197 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
55 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
34 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
31 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
113 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
255 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
31 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 , ...
1
vote
2answers
458 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
112 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
1answer
62 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 ...
1
vote
2answers
45 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 ...
1
vote
2answers
370 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
36 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 ...
0
votes
0answers
188 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
255 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
55 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
74 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
32 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
87 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 ...
1
vote
1answer
60 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
125 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 -r|...
0
votes
0answers
50 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
247 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
65 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
461 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
359 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
99 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 Krusader)...