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
2answers
355 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
72 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
47 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
427 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
55 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
41 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
195 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
29 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
170 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
141 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
135 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
48 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
66 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
26 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
71 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
35 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
47 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
96 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
46 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
140 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
51 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
364 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
253 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
72 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
12 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
106 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
921 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
88 views

Need To grab IP of visitors from the Apache logs , How could I do it?

I want to store the IP of the visitors to my website, 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
50 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
104 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 ...
1
vote
1answer
110 views

Restart Apache after PHP update?

One of our Amazon Linux servers has php56 installed, which is not the default PHP installation. Quite often I see updates for this package, while on other server PHP is not updated. Do I need to ...
0
votes
2answers
64 views

apache basic authenticaion

I have enabled basic authentication for one of the directories on website. The code has been added in the httpd.conf file. The user and passwords have been added in the /etc/passwd file. The same ...
1
vote
2answers
70 views

99% file download

We have server under Ubuntu 12.04 with Apache HTTP 2.2 installed there. Kernel 3.2.0. Faced with weird behavior during dowloading some files. Virtualhost config: <Directory /var/www/name/*> ...
0
votes
1answer
35 views

ErrorDocument not working with .htaccess file

I am trying to use a .htaccess file to setup specific behaviors for one directory. My .htaccess is as follows: ErrorDocument 401 /var/www/secret/logging.php AuthName "My Password Protected Site" ...
0
votes
0answers
92 views

mod_wsgi with Apache ignoring python-path

I'm trying to run mozilla-firefox-sync-server with apache 2.4.17-3 on my Arch Linux server, following this guide. Here's a part of my /etc/httpd/conf/extra/httpd-vhosts.conf file. <Directory ...
0
votes
1answer
124 views

Xampp fails to start on linux mint

i had xampp working earlier on linux but i had phpmyadmin issues so i decided to reinstall everything i removed opt/lampp and Downloaded a newer version of xampp from their site now i try to start ...
1
vote
0answers
93 views

Apache SSL timeout is not matching settings

I have a CentOS 6.7 apache Server version: Apache/2.4.7 (Unix) server with both http and https ports configured. They are configured the same, except for the SSL specific settings. The most relevant ...
0
votes
1answer
222 views

Fedora 23 Apache and PHP not working

I am struggling to get an answer to this. I have Fedora 23 install, in place upgrade from Fedora 22. When I go to http://localhost I get a list of files and folder and not the Fedora Test Page as it ...
0
votes
2answers
28 views

Apache CGI Workflow

I am trying to understand the workflow for CGI. So for example, say I use a unix shell script with CGI, what will be the sequence of steps executed to run this script when a client sends a request to ...
0
votes
0answers
24 views

How to broadcast voice from USB microphone to apache?

I have a webcam and a microphone. I wan't to send both, sound and video to my index.php so i can see the video from the camera and hear the sound from the microphone. I already managed to stream the ...
0
votes
2answers
83 views

Apache 2.4.10 page not displayed

I'm not a big expert in Apache and I facing with a particular problem. I have 2 server where in the first I run Debian 7.9 with Apache/2.2.22, in the other one I have Debian Apache/2.4.10. In both ...
0
votes
1answer
250 views

Unable to install mod_pagespeed on Apache 2.4

I have installed Apache 2.4 on the Red Hat Enterprise Linux Server release 6.7 (Santiago) by following these steps Step1 cd /etc/yum.repos.d/ wget ...
0
votes
1answer
92 views

How to update apache, mysql, phpmyadmin and php?

I have my own web server running on my raspberry pi, and all my programs are outdated. I would like to update my PHP, Apache, MySQL, and phpMyAdmin. Can anyone tell me how to update all of these;? ...
0
votes
2answers
164 views

why isn't .htaccess redirecting requests on CentOS 7?

A web app running on CentOS 7 with Apache 2.4 recently changed its domain name from olddomain.com to newdomain.com. The structure of the app at the newdomain.com is different than on the ...
0
votes
1answer
12 views

AccessLog does not exists?

I am a new user here and have problems with apache server: error which I see first time on line 1016: I have no idea what to do...
1
vote
1answer
261 views

modsecurity rule for blocking wordpress / joomla admin login - others

I have an old rule for ModSecurity 1.x to block admin brute force attacks, and only allow them in the internal network. When I migrated to 2.x, it stopped working. Also the networking ipmatch rules ...
1
vote
0answers
20 views

Apache's sudden drop of requests

My server was working fine until a couple of weeks ago. All of a sudden, I started getting error notices from PHP. Lost connection to MySQL server at 'reading authorization packet', system error: ...