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
26 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
0answers
11 views

CentOS, Vhosts.conf missing? [on hold]

So I've created 5 pages on CentOS machine, I configured the Httpd.conf and vhosts.conf and everything works like a charm. Now after 3 months I log in and I can not find the vhosts.conf file ...
0
votes
1answer
15 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
17 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
22 views

Need help with the webserver by OpenBSD 5.8 'httpd'

The configuration is as documented here but when I move my index.html to /var/www/htdocs/index.html my browser finds nothing! It always jumps to www.example.com/cgi-bin/bgplg! The httpd webserver ...
0
votes
0answers
14 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
15 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
37 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
12 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
32 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
20 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
29 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
46 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
19 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
20 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
35 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
30 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
49 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
10 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 ...
1
vote
0answers
22 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
32 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
14 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
9 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
22 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
21 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) ...
-2
votes
0answers
57 views

start apache2 server (on demand) when I enter 'localhost' in browser

How can I start apache2 server on demand by entering localhost or local IP address (192.168.*) of my computer in my browser? This is as opposed to starting it on boot. In another language, it means ...
0
votes
1answer
63 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
14 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
186 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
43 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
27 views

Why can't I install CentOS 7 in dual bot wth Winows 8.1?

I'm getting crazy with this OS :'( I want immediately say that I'm sorry for my English, I hope I can explain myself well. Please let me just explain few things: I need to build something under ...
0
votes
0answers
30 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
34 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 ...
4
votes
5answers
370 views

What is a symbolic link made from? Understanding the structure of symlinks

I use Ubuntu 15.10 and I'm very new in Linux. After reading in Wikipedia what is a symbolic link in general, and after executing a symlink creation command in the Ubuntu Unix-bash terminal, I ought to ...
0
votes
0answers
29 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
37 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
1answer
42 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
26 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
93 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
48 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
35 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
30 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
55 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
17 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
0answers
38 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 as sudo: no tty present and no askpass program ...
2
votes
0answers
24 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
32 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 ...
0
votes
0answers
40 views

“yes | head” never stops when executed from Apache server?

I have a page on my site that runs a script that involves yes. The line that invokes yes is like this: fullalistan="$(yes "$firstnopng" | head -n $repeater | awk '{ print $0 "" FNR ".png" }')" Now ...
1
vote
0answers
19 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). ...