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
41 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). ...
2
votes
2answers
51 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
40 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
55 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
37 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?
2
votes
1answer
243 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 ...
2
votes
1answer
84 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
45 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
9 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
14 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
49 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
203 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
48 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
26 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
46 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
51 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
46 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
60 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
27 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
43 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
42 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
39 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
117 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
25 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
18 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
48 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
107 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
39 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
108 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
121 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
18 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: ...
0
votes
0answers
87 views

Apache httpd starts but enters failed state on CentOS 7

I'm new to Linux and i have some problems with restarting httpd after creating Virutal hosts. The service is running but i am unable to restart it. [webmaster@erichermansson conf.d]$ sudo systemctl ...
1
vote
2answers
123 views

Can't get Perl FastCGI script to run on Apache Server: Error 500

I'm trying to run an Apache server that executes some scripts over fast CGI, but I can't figure out for the life of me how to actually get it to work. My problem in particular is the "Error 500: End ...
3
votes
1answer
72 views

Access a file in PHP through a symbolic link from a user that normally doesn't have permission

I have this website, where if the user submits a form, a python script is executed through a php page, and the python script creates a zip file and should offer it to the user for download through a ...
1
vote
0answers
36 views

Apache, can't link to Home directory, Alias does not work

I am trying to make a folder in which I can build websites (using php). I have switched from a Windows system where I was using Uniserver (http://www.uniformserver.com/) which is a setup with MySQL, ...
0
votes
1answer
108 views

“Forbidden: You dont have acces” - Still occuring

Heyho, I know, that this question was probably asked several times before and I read many of these solutions, but none of them helped me out. I still get: Forbidden You don't have ...
1
vote
1answer
24 views

Apache status connecting to wrong host

I'm trying to get the status of my Apache server with the ./apachectl status command. I get the following in stdout: Looking up 127.0.0.1:30240 Making HTTP connection to 127.0.0.1:30240 Alert!: ...
1
vote
1answer
468 views

Why is apache giving DNS lookup failures?

A CentOS 7 web server has tomcat serving up war files behind an apache httpd reverse proxy. This works perfectly when the WAR files are all server-side code. But when client side code (AngularJS in ...
0
votes
1answer
71 views

How do I directly expose apps running on a CentOS 7 web server?

How can I open a port and directly access a webapp running on tomcat on CentOS 7? Tomcat is running behind an apache httpd reverse proxy, but I want to directly access the apps running in tomcat by ...
1
vote
1answer
127 views

Apache and systemd

I've just started using Debian 8 which has introduced systemd. I'm not interested in the politics around SysV vs systemd, but I am confused, especially around Apache (2.4). There are now two ways to ...
1
vote
2answers
86 views

How can I reach an open & listening port on Linux?

After forwarding the port I wish to open, I cannot seem to connect or get any data to this port. The PHP CLI software I have written is listening to the port actively on Ubuntu 14.04. Part of the code ...
1
vote
3answers
44 views

The Apache2 configtest failed

Can anyone help me with this error. [Failed] starting web server: apache2 failed! Output of config test was: Chown: changing ownership of '/var/lock/apache2.Nxr1S1Hr6b': Operation not ...
0
votes
3answers
21 views

Verify SSL for local computers

I have a small business network and for this network, one computer is DHCP-, DNS- and web server. It uses local domains like machinary.ao or resources.ao I'd like to use ssl. Computers and network ...
0
votes
0answers
18 views

Apache PostreSQL database server only

I was wondering if it's possible to use apache to make a postgresql database available for connections from the web without using a website to interface with the database. Instead of having a webpage ...
0
votes
3answers
117 views

Change documentroot on Apache 2.4 [closed]

I knew how to do it on Apache 2.2, however, how do I change the document root on Apache 2.4? I run Debian 8.20 on a Virtualbox VM as my apache server and Ubuntu 15.04 as my host OS. I tried to change ...
1
vote
1answer
147 views

Tomcat Homepage (localhost) doesn't showup

Assuming, I've successfully installed Apache tomcat in RHEL 7 followed almost similar instructions in here, except that I've tomcat8 user, assigned permissions and generating a keytool as ...
1
vote
2answers
38 views

How does Apache resolves the requested virtual host?

I am running several virtual hosts on a VPS running Apache 2.4. I registered a domain at my VPS provider OVH: 55eastmonroe.software. I want the subdomain www.55eastmonroe.software to point to the ...
1
vote
1answer
27 views

Keeping services on EC2 alive

I'm using a MySQL database and Apache server with an AWS EC2 instance running AWS Linux. I start them both using the service command, but I am not familiar with any other tool that would come ...