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). Non-apache web server-related questions should use the tag: webserver.

learn more… | top users | synonyms

0
votes
0answers
6 views

Make SOGo reachable for only one subdomain with Apache

My setup is pretty much straight forward. I have SOGo running with Apache2 and everything regarding SOGo works just fine. What I don't understand is, why my SOGo instance is reachable through all ...
3
votes
1answer
22 views

Why is apache reporting “client denied by server configuration”?

I'm running Fedora 23 with Apache 2.4 and PHP 5.6.27. Both Apache and PHP are installed from the standard Fedora repo. My problem is that despite setting Require all granted in my site's virtual host ...
1
vote
1answer
22 views

Apache query string rewrite not working

I need to rewrite a domain name in a query parameter in order to augment a proxy. The proxy basically is just a domain rewrite, but some of the responses from the upstream server include a query ...
0
votes
1answer
25 views

Why would accessing a PHP CGI file with GET fail (404) but with POST succeed (200)?

I have centos web server. Name: CentOS release 6.8 (Final) Kernel Version: 2.6.32-642.6.2.el6.x86_64 Apache version: Apache/2.2.31 PHP version: 5.4.45 [PHP Switcher] I was try to access link getting ...
0
votes
1answer
24 views

How to configure Apache Webserver to load GIF

I would like to understand how can i configure Apache webserver in a way that whenever someone sends a http request it should just load a 1x1 Pixel Gif.. Currently, response that we get is the text ...
1
vote
0answers
27 views

My mediawiki page displayed index of/ after updating to apache 2.4.23

I had this problem with MediaWiki after updating apache At first, i installed using yum and i had apache 2.4.6, php 5.4 on my Centos7 Then i want to update them to latest version which is apache 2.4....
0
votes
1answer
23 views

Which config file is fit for my example to config apache2?

Let's suppose a scene. domain name: xyz.com the domain parsed by third-party dns server: ns1.xxx.com IP address bound with domain: 123.123.123.123 apache2 was installed on 123....
0
votes
1answer
70 views

BeEF does not start in Parrot Security OS

I'm having problems, I wanted to follow tutorials on the beEF (Browser Exploitation Framework) tool, but it just does not run. When I start it by the terminal, it should show the control panel in the ...
1
vote
1answer
28 views

What file determines “# Registers:” entries in /home/ubuntu/.viminfo after apache2 restart [closed]

I posted this question in "Ask Ubuntu" but no replies. I have installed Apache2 on Ubuntu LTS 16.04. I looked at the /home/ubuntu/.viminfo file and it contained the following lines. # Registers: "0 ...
0
votes
0answers
17 views

httpd: Could not reliably determine the server's fully qualified domain name

We have a requirement to replace the existing certificate and also install the recent patch of content server in our content server which based on linux and the database is MAXDB. However Database ...
1
vote
1answer
16 views

View a directories groups and setup www-data as an admin of a directory to allow content deletes

I am trying to to view the groups that belong to a directory and to enable www-data to be an admin of a directory so I am able to delete files that are within it using php unlink functionality. I have ...
1
vote
1answer
21 views

How can a service with PrivateTmp=true access a unix socket in the /tmp directory (e.g. to submit Torque jobs from PHP running in Apache)

Sorry if the title is confusing. Here's the big picture: We have a webserver that performs scientific calculations submitted by users. The calculations can be long-running, so we use The Torque ...
0
votes
0answers
33 views

Why is my apache running in 8080 started by root?

I am running Apache in 8080 port. After starting the httpd, I noticed that the parent process is owned by root. [root@a ~]# ps -ef | grep httpd root 13480 1 0 08:07 ? 00:00:00 /usr/...
3
votes
1answer
245 views

What is the symbolic variable for “public address”?

Please forgive my ignorance for asking this question. I'm having a heck of a time discovering how to specify "public address" instead of hard coding and IP address. According to the Apache manual ...
0
votes
0answers
15 views

httpd.conf and two rules: order and chaining of (domain->site) and (http->https) redirect/rewrite?

We have read Server Fault's Redirect, Change URLs or Redirect HTTP to HTTPS in Apache - Everything You Ever Wanted to Know About Mod_Rewrite Rules but Were Afraid to Ask. We have also read Apache's ...
1
vote
0answers
24 views

symlink on directory permission denied

I've created a symlink shown here; lrwxrwxrwx 1 apache apache 33 Nov 4 11:55 blog -> /var/www/blog.mysite.com Which resides in the base of this directory /var/www/www.mysite.com/ If I ...
0
votes
1answer
10 views

selinux started blocking php “exec” calls after yum update

I've used the PHP exec command to issue lpr -P printer_name /var/www/html/somefile.pdf but after a RHEL system update (7.2 to 7.3), selinux has decided to start blocking these requests. selinux ...
3
votes
3answers
59 views

Apache not binding to port 80?

I am having issues with Apache. I just installed Centos and waant to create a webserver of my own. I am following the directions of "the perfect server for centos 7.2" and came upon this error on my ...
0
votes
2answers
28 views

Can't find `a2dissite` and `a2ensite` after building `apache2` from source on Mint17

After building apache2 http server from source (2.4.23) I don't have the a2dissite and a2ensite commands. Configure was: ./configure --with-included-apr --prefix=/usr/local/apache2 When I run: ...
0
votes
0answers
10 views

Apache version 2.0.65 apachectl is not working

I installed Apache version 2.0.65. Installation Process: cd /usr/local/src tar xvfz httpd-2.0.65.tar.gz cd httpd-2.0.65 ./configure --prefix=/usr/local/apache --enable-so --enable-module=so --enable-...
1
vote
0answers
34 views

Default Page still accessible after a2dissite 000-default.conf [migrated]

I have a brand-new installation of Ubuntu 16.04 LTS Server (32bit) with enabled LAMP packages. Which means out of the box, it serves the typical Apache2 Ubuntu Default Page on port 80, located under /...
0
votes
1answer
21 views

How to fix httpd error code AH00526?

Hey new to linux here and I just got Centos 7.2 up and running on my pc. I was following along on "The Perfect Server" instructions and got all the way to installing apache and now I'm stuck at ...
0
votes
0answers
21 views

What can possibly cause a website connection timeout when HTTPD service is running and iptables is off?

I'm using a CentOS 6.8 VM as my LDAP server. We are using phpldapadmin so we can configure our LDAP settings through the GUI that is supposed to be accessible by going to an internet browser and ...
0
votes
2answers
23 views

In which file can we modify what is logged / non logged by apache?

I have a Debian 8 with Apache. My /etc/apache2/sites-available/000-default.conf is like the follwing. How, and in which config file, can I ask Apache to not log in /var/log/apache2/other_vhosts_access....
0
votes
1answer
21 views

Why PHP doesn't run in Apache?

I want to start saying I'm a beginner in Linux & Networking, so I may not get something and if so, I'll ask some question (like comment). Anyway, Let's writing my question. I'm using Elementary ...
1
vote
1answer
59 views

Apache2 Failed to start after installing php5 alonside php7 on Ubuntu 16.04

I am running Apache2 with php7 on Ubuntu 16.04. But alongside this, I had installed php5. After installation of php5 I executed sudo a2enmod php5.6 Then I restarted apache2 with sudo service apache2 ...
1
vote
0answers
15 views

Apache analytics with virtual hosts

I've found various open-source tools (such as goaccess.io) that can turn an access.log or other_vhosts_access.log into a unique visitors analytics: 739 visits 16/Oct/2016 804 visits 15/Oct/2016 ...
0
votes
1answer
20 views

Other site served on a multisite Apache server when 2nd SSL certificate introduced

I have an Apache service running on an Ubuntu server with two completely different websites i.e. different domains. They each have a separate VirtualHost configuration and, until recently, only one ...
0
votes
0answers
12 views

Wamp-like Server Configuration page for LAMP on Centos

Is there a page similar to the one below showing the WampServer configuration for a LAMP stack (on Centos 7)? Basically, a nice graphical way to show all the enabled extensions (not phpinfo, I can get ...
1
vote
1answer
57 views

CVE-2014-8109 and CentOS

I am going through a long list of 100s of security issues that a provider of PCI compliance security scan services reported on a client server. I have found, isolated, documented, and filed disputes ...
0
votes
2answers
41 views

How to disable Apache and MySQL autostart when PC is turned on?

I'm using Linux Mint 18 XFCE and installed Apache, MySQL and PHP packages to make local development. Apache and MySQL services are always active and start from the beginning. How can I disable those ...
0
votes
2answers
145 views

Ubuntu 16.04/Apache 2.4.18: 403 Forbidden

Trying to set up a Minecraft Technic Solder repository on my home server. Here is my 000-default.conf in /etc/apache2/sites-available/: <VirtualHost *:80> # Host that will server this project....
3
votes
1answer
54 views

CGI with Shell Script

I'm having trouble running a CGI example with Shell Script, I'm not able to access the directory created in the example I'm following "/tmp/shell". By accessing the address "http://localhost/shell" ...
0
votes
0answers
69 views

Apache fails to start, no obvious errors

I'm on a clean install of Centos 7, and after setting up a VirtualHost for Apache, it fails to start. There are no obvious errors in journalctl -xe but here is the output regardless. -- Unit httpd....
0
votes
2answers
47 views

Path Setting on linux server

I have php project that is running perfectly on window . now I am deploying project on Centos Linux Server . define('INCLUDES_PATH', ROOT_PATH.'cms-includes/'); ini_set('include_path',INCLUDES_PATH....
0
votes
1answer
83 views

Apache2 restart/start error

I am trying to restart Apache2, but whenever I run the command, this happens: Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" ...
0
votes
1answer
100 views

How would I run a php script?

I am not sure if this is Unix related, but I can't really see what it would be, if it wasn't Unix related. I'm running a Ubuntu Server, and I'm trying to execute a .php script on my website when ...
0
votes
1answer
21 views

How do I connect to my Apache server located on my guest VM?

I run windows 10 on my host machine and through VMWare recently installed a CentOS version of Linux and installed an Apache server. On the host I'm able to access the server via 'localhost' or ...
0
votes
0answers
35 views

Munin : Web interface showing directory listing only

I'm installing Munin v2.0.25 on the CentOS 7. I exactly followed this installation guide. But then when i browse http://xxx.xxx.xxx.xxx/munin (after entering the http authentication): Below are some ...
0
votes
0answers
25 views

Centos 7 - Crawler getting blocked

I'm trying to run a scan with vega on my own site, but there's a crawler blocking software which i'm not aware of... The problem is that software is too strict, if people send requests to the server ...
0
votes
0answers
37 views

You don't have permission to access /cgi-new/printenv on this server

I am running Apache2.2.15. I created a separate directory called cgi-new under same directory as cgi-bin. I also edited my httpd.conf file and created an alias for cgi-new and also created a new ...
0
votes
2answers
59 views

Upgrade Apache from v2.4.6 to as newer version as possible - CentoOS 7

I searched all over but could not find an easy way to upgrade Apache without recompiling. I installed httpd24 from this instructions but could not figure out how to replace httpd with httpd24. Is ...
0
votes
0answers
43 views

LDAP Group Restriction not working - Require ldap-group - Apache 2.4

I found what seems to be the line of code I need, but it's just not working and I can't figure out why. Everything is working mostly, I can log in via local HTPASSWD or LDAP, but my ldap group "fail" ...
0
votes
1answer
26 views

Change default Document Root path in cent os 7

I have cento os 7 and installing php website and by default i have to upload code to /var/www/html but i want my code to pick from /home/magento. How to rewrite Document Root path in cento os .
0
votes
1answer
32 views

If I put a path after `.php`, the script is not found

On my Debian "testing" system after installing Moodle the request to http://localhost/moodle/theme/image.php/clean/core/1473903261/req returns Not Found The requested URL /moodle/theme/image.php/...
0
votes
1answer
30 views

can i configure an apache VirtualHost Proxy BalancerMember as failover-only (e.g. hot/warm)?

i currently have a VirtualHost configured to load balance between 2 servers. however, to avoid race conditions that occur when both instances are active, i would like to switch to a hot/warm ...
1
vote
0answers
51 views

SSL Handshake Error with several Apache Servers

I'm running into a strange behaviour with my server setup. I have several apache and application servers behind one another and run into SSL Handshake issues. My Server Setup is Request from Internet ...
0
votes
1answer
86 views

Apache won't start and there are no errors

Apache will not start. There are no errors in the journal. Where do I find further info? $ systemctl status httpd.service -l ● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/...
0
votes
1answer
30 views

Accessing Apache over LAN

I am running a headless install of Centos, which I would like to use as a web server. I have installed Apache, and successfully tested http://localhost using the Links browser via SSH. I would like ...
2
votes
1answer
25 views

why httpd reports less active modules than apachectl?

I am trying to enable mod-nss module in Apache2. So after doing what is necessary, I am trying to validate that indeed the module is loaded. Asking apachectl # apachectl -M | grep nss nss_module (...