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

Use sudo in apache with SELinux

I am using CentOS 6.5. using Apache, I want to use sudo in exec. It works when SELinux stopped. how to configure SELinux to permit it. The php script <?php exec('sudo -u newuser ls /',$output); ...
0
votes
0answers
7 views

security2_module module for apache is causing the “Forbidden You don't have permission to access / on this server” message

I installed the security2 module to my apache server by adding these following lines to my httpd.conf: <IfModule security2_module> Include ...
1
vote
2answers
35 views

how can I configure Apache so that PHP scripts are run with permissions of the owner of the script?

I have an Apache webserver. I have some PHP scripts on it. Scripts are run as the user www-data - it is as the user that runs Apache. I want to configure Apache so that PHP scripts are run with ...
1
vote
0answers
33 views

Apache 2.4.12 Upgrade issue with OpenSSL 1.0.2c

for FREAK vulnerability, I tried to Upgrade Apache 2.4.12 from 2.4.10 and OpenSSL to 1.0.2c using following line ./config --openssldir=/usr/local/openssl make make test make install Once ...
0
votes
1answer
28 views

How can I configure my server to avoid information leakage from the SERVER header of its HTTP response

I have a centos 7 server with apache v2.4.6 php 5.4.16 and OpenSSL 1.0.1e-fips installed. I was just doing a scan to it to see how secure my server is. I found out that my server is giving out ...
2
votes
1answer
58 views

evasive module in apache error: “Can't locate API module structure `evasive24_module'”

I wanted to protect my Apache/2.4.6 (CentOS) server in CentoOS 7 from DDOS attacks so after searching for some alternatives I found this page. They go through the installation of the modules evasive ...
1
vote
1answer
34 views

How to make Apache piped logging scripts not run as root?

The organization I work for is very security-minded. There is a separation between the group of System Administrators who are responsible for the operating systems (who, obviously, have root) and ...
1
vote
1answer
41 views

How can I solve “Your connection to 192.*.*.* is encrypted with obsolete cryptography”

I just set up my apache server with SSL installed on it, and everything is perfect except that when I open the page with https:// I get the following message when I click the padlock next to the ...
0
votes
1answer
22 views

calibre opds error 403 on the epub file

I'm trying to use calibre2opds to put my library on my server (fedora21). Everything works fine, i can navigate, until i want to download an epub. I get en error 403: You don't have permission to ...
0
votes
1answer
20 views

Routing server requests using Apache Vhosts?

I have a multiple server setup that I am having difficulty figuring out the best way to solve a problem. I have several domain names that are accessed via a single IP address and served from one ...
0
votes
1answer
18 views

Split the same virtualhost configuration across multiple files

If you have only one large file in etc/apache/sites-available, is there a simple solution to split the apache vhost file into separate files so you could use them in the Apache folders sites-available ...
0
votes
2answers
27 views

I need to install two different versions of a library on a Debian-based distro

Jessie comes with APR (apache runtime portable) as package libapr1 version 1.5.1-3. However, that is the only version that Jessie has (it is also the newest version). I am trying to build the UIMA ...
-1
votes
0answers
10 views

How to overload apache or nginx2

We are trying to demonstrate over loading a web server. I have a script that uses nc to call a URL over and over (at a rate of about 100-300 requests per second). When this script is running if I make ...
1
vote
2answers
24 views

Apache2 vHost Problem: subdomain isn't working right

First: I am pretty new to Linux/Apache My problem: I am trying to acces my forum via the subdomain forum.lumix-transporte.de. Usually you can acess it with lumix-transporte.de/forum. My forum.conf ...
0
votes
2answers
28 views

Use Apache's Name Based Virtual Host to Redirect to Internal IP

I'm toying with a new setup at home, and not sure if what I'm trying to do is possible or not. I've got my domain's DNS pointed to my WAN IP and being answered by Apache on an Ubuntu 14.04 server ...
0
votes
0answers
23 views

Can't run customlog and errorlog in custom directory for apache in centos7 [duplicate]

I can't make my customlog for apache in different than default directory. I think that it has to be something with access rights but have no idea what. httpd.conf - log config journalctl -xn ps ...
0
votes
2answers
35 views

how to change default root in apache web server?

I am trying to change the default root directory in Apache webserver but having trouble accessing it from webbrowser. Disabled SELinux Stopped IPTables Trying to make : "/var/www/test/" as default ...
1
vote
0answers
73 views

Install php apache module from source in CentOS 6.6

I tried running yum install php on my centos box however it kept installing an older version. Therefore I installed apache 2.4 and php 5.4 from source. However, I'm not sure how to install the ...
0
votes
1answer
103 views

Configuring Apache 2.4 to permit CGI on Debian Jessie

I’m new to Sysadmin and Apache configuration. Trying to get AWStats running, but in troubleshooting have gotten to trying to run a simple Hello World (html output) script on port 8888 and have been ...
0
votes
1answer
17 views

How does Apache resolve the path to error_log?

In my httpd.conf located in /etc/httpd/conf/httpd.conf there is the line: ErrorLog logs/error_log But the path to the log file is: /var/log/httpd/error_log How does Apache Webserver resolve the ...
0
votes
1answer
58 views

AWStats on Debian Jessie Forbidden from Browser / Unresponsive from CLI

I asked this on SO a day or two ago and no response yet. Hoping for some insight here in getting AWStats configured and running on Debian Jessie. Installed AWStats with apt-get install awstats. No ...
1
vote
2answers
49 views

Test script/program/app to check if my website is live

I just deployed my webserver using Apache in CentOS and I was wondering if anybody has any good ideas in how to check every specified amount of time if the server goes down and then I can use postfix ...
0
votes
0answers
36 views

Mod Speed Installation Error

I have 2 webservers Apache and Nginx. Trying to install mod_speed integrated with Apache but I get error: Failed dependencies: httpd >= 2.2 is needed by ...
1
vote
1answer
27 views

Does CVE 2006-7098 require access (being a logged in) to the vulnerable Debian?

I'm studying the vulnerabilities of an old version of Apache, the 1.3.34. And I don't quite understand in what exact situation the CVE 2006-7098 vulnerability can be exploited. The README included in ...
1
vote
0answers
42 views

Apache Virtual Host Not Working

I'm trying to set up Apache virtual hosts on my Raspberry Pi so I can host 2 different websites with 2 different domains. I've done it before with no problems, but now I'm having no luck. Since ...
1
vote
1answer
39 views

Install nginx as proxy after Apache

If I install nginx as proxy on my Debian wheezy server, what steps would be needed to change my apache configuration so all static content is directly delivered by nginx? I already have some 250 ...
-1
votes
1answer
39 views

My index.html not in DocumentRoot

My structure is this cdn - node_modules/ - build/ -- bower_components/ -- css/ -- templates/ -- sst/ --- index.html How can I configure apache2/symlink/.htaccess to use www.app.com instead of ...
1
vote
0answers
92 views

“avahi-daemon[1540]: server.c: Packet too short or invalid while reading response record. (Maybe a UTF-8 problem?)”

We are developing an application in Java for our internal project. Apache-Tomcat-7.0.57 is running on a Linux machine (Red Hat 4.4.6-4). But it throws an error avahi-daemon[1540]: server.c: Packet ...
0
votes
1answer
50 views

Debian, Apache, 403 Forbidden Errors and Encrypted Drives

I have set up Apache on my local Debian Jessie installation but can not get my VirtualHost to work. Accessing http://localhost works just fine and shows me the It works! page. But when trying to ...
1
vote
1answer
40 views

Xampp installer Error

I tried to install xampp ver 5.5.24 on Debian using terminal, after setting it to run as executables in permissions with. ./xampp-linux-5.5.24-0-installer.run I get Segmentation fault Then I ...
0
votes
1answer
24 views

Connections without Virtualhost

I saw tons of connections on port 80. But no requests from these IP addresses were logged in Apache access/error logs. I deleted all the virtual hosts, stopped Apache, and restarted it after there are ...
0
votes
1answer
29 views

Apache Module blocking access to FTP

I'm running a CentOs server with a lot of websites on it. The previous dev lead applied the Apache module to all domains. Problem is, now the client can't access their files in Filezilla. They can ...
0
votes
0answers
25 views

How can DNS reverse lookup be forwarded to a syslog [duplicate]

I am wondering if DNS reverse lookup logs can be forwarded to a syslog
1
vote
0answers
29 views

Is it secure to mount with defaults my /chroot partition?

I run debian with GRSECURITY patched kernel. Apache is chrooted with mod_chroot under /chroot For now I have mounted /chroot partition with defaults,nodev. However, Apache need to access ...
0
votes
1answer
88 views

Excluding internal requests from Apache logs

I am running Apache2 on my Ubuntu server. There were tons of logs about Apache's internal requests for managing its child processes. It was filling the log file with lines like: ::1 - - ...
0
votes
0answers
35 views

PHP sendmail_path not getting updated

Environment: Debian 7; PHP 5.4.39; Apache 2.2; ISPConfig Using the Perfect Server Debian guide from howtoforge, I built a web server to serve some PHP applications. My intention is to use an external ...
0
votes
0answers
24 views

Saving log files in the user account /home/user when hosting mutliple sites

I'm using Centos 7 and virtual host. The sites are all working great but I am trying to save the ErrorLog and CustomLog in /home/user/www/log instead of /var/log/httpd. When I change the location of ...
1
vote
0answers
28 views

Bind TomcatWebConnector to IP Address [closed]

I have a RedHat 5.6 server that has two NIC's (eth0/192.168.1.1 and eth1/192.168.1.2). I want to have two separate installs of geronimo using one specific NIC only. Install1 ...
0
votes
0answers
40 views

HAproxy wont see Apache after uninstall Nginx, why?

I have a website I need to mount and I'm doing so with an HAproxy as load balancer, 3 webservers, 1 memcached, another HAproxy and a mysql galera cluster with 3 servers. All in CentOS 7. Anyway I ...
0
votes
1answer
88 views

PHP upgrade after installing phpmyadmin

I had a Debian Server with Apache 2.2 and PHP 5.3 I installed phpmyadmin (sudo apt-get install phpmyadmin). Now, the versions of Apache and PHP have been upgrade (2.4/5.6) Is this possible? How can ...
0
votes
1answer
54 views

Apache giving me 403 on Virtual Host

I have been trying to get to grips with Apache in CentOS 7. I have set up two virtual hosts and created basic index.html pages as follows: /var/www/domainA/public_html/index.html ...
0
votes
0answers
28 views

File permission issue with web server

Our project files is hosted in Linux server using root user, i tried find the user for Apache/PHP, here is what i got by running ps aux | egrep '(apache|httpd)' [root@server tmp]# ps aux | egrep ...
1
vote
1answer
55 views

linux commandline can connect but webserver (or php) can't connect

We can connect to a specific url with linux (centos 6) commandline (curl, wget,...) But we can't connect to it by webserver (apache) or php. I did 'setenforce 0' command, after that webserver and ...
0
votes
3answers
25 views

Implementing index.php that serves index.html

Firstly, any advice on improving the title appreciated! I want a webpage to reflect a log file. I have a bash script that converts the log to html. Currently this runs periodically via crontab, ...
1
vote
0answers
48 views

PHP version info missing from Apache log on startup

I am building a LAMP server (CentOS 6.6), using a current server at work as a roadmap (CentOS 6.4). After installing PHP 5.5.24 and a lot of other modules (mod_nss, mod_perl, etc), everything seems ...
0
votes
1answer
435 views

Apache and php not working child pid xxx exit signal Segmentation fault (11)

After making a change to my php.ini file I got the error messages as shown below. vim /etc/php.ini ; Maximum amount of memory a script may consume (128MB) ; ...
0
votes
1answer
85 views

OpenSSL 1.0.2.a and Centos5.7

I have an old version of Centos (5.7) and I would like to enable TLS 1.2 due to Google Chrome warning about TLS 1.0 I tried to update with yum but I can see that no OpenSSL 1.x could be installed ...
2
votes
0answers
24 views

How does the control process of apache pass new connection to one of his children? [closed]

I couldn't find any information on this topic. Could someone point me in right direction?
1
vote
0answers
30 views

Virtualmin, mounted disk under home directory, but having permission errors

I have a virtualmin installation in debian 7. My hard drive was full so mounted a second under home directory (/home/disk2) using fstab file. I created a virtual server and moved it to second drive by ...
0
votes
1answer
113 views

Dav SVN apache mod not working in Ubuntu trusty when there are spaces in the url

I am using Ubuntu 14.04.2 LTS with subversion 1.8.8 and attempting to set up remote svn access via apache2 with mod_dav_svn - this is a migration to linux from a windows server running apache2. The ...