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

RewriteRule ^/(.*) http://127.0.0.1:5050/$1 [L,P]

What is the full meaning of following line - RewriteRule ^/(.*) http://127.0.0.1:5050/$1 [L,P] There are three application both running by python on ubuntu 14.4. they are visible as below link ...
0
votes
1answer
29 views

Apache autoindex: turn off hyperlinks?

Is it possible with apache autoindex to have it display the file listing in a directory, but not have the items hyperlinked?
0
votes
0answers
175 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); ...
1
vote
1answer
7 views

Getting htpassword for Red Hat

yum install httpd-tools doesn't work for me because of some admin privileges or firewall issues. I also tried some httpd-tools rpm (from this page ...
0
votes
0answers
95 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
224 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
278 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
227 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 ...
1
vote
1answer
69 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
270 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
67 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
99 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
158 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
104 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
vote
2answers
88 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 ...
1
vote
2answers
687 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
24 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 ...
1
vote
0answers
146 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 ...
1
vote
1answer
4k 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
210 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
1k 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
154 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
131 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
31 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
233 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
77 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
50 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
730 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 ...
1
vote
1answer
2k 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
95 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
30 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
60 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 ...
1
vote
0answers
36 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
0answers
27 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 ...
0
votes
0answers
118 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
217 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
494 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 ...
1
vote
1answer
376 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
59 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
145 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
3k 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
965 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
28 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
102 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
369 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 ...
3
votes
2answers
1k views

How to run mod_mono on Debian Jessie (package libapache2-mod-mono missing)?

I would like to run an ASP.net MVC application that requires Mono 4 on Debian Jessie, but Jessie is missing the required package "libapache2-mod-mono" [1]. On [2] I found that the package was removed ...
0
votes
1answer
322 views

Whats the best way to clear / empty Apache log files periodically

I am running Apache server on lubuntu linux, Since there are plenty of applications ruining on the web server with 10+ users accessing the server regularly, the server logs [access & error logs] ...
0
votes
0answers
167 views

Symbolic link not allowed apache 2.4 chiliproject

Few hours ago I upgraded ubuntu 13.10 to 14.04 LTS. I have 1 problem with chiliproject application wich running on Rails. I got error 403 when I'm trying to access my chiliproject application. In ...
0
votes
1answer
99 views

Setting ServerName to suppress Apache warning message with multiple domains

When I restart/reload/whatever apache2 (2.4) on Ubuntu Server 14.10, I get the error message that the server could not determine the FQDN. I had this set previously, no big deal, but I now have two ...
2
votes
1answer
143 views

printenv.wsf and printenv.vbs in /Library/WebServer/CGI-Executables

Please don't shoot this one down, as I looked through my Macbook Air and wanted to configure my Apache installation to more specific needs, I came across printenv.wsf and printenv.vbs, which I find ...