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

1
vote
2answers
32 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 ...
0
votes
0answers
6 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
0answers
23 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 ...
1
vote
2answers
1k views

Apache Virtual Host Include Not Working

Attempting to get my domain to redirect to the associated vitual hosts, but the Include is not working as expected and displaying the proper htdocs directory. It is still displaying the default apache ...
2
votes
1answer
53 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 ...
0
votes
1answer
27 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 ...
0
votes
1answer
10k views

enable apache mod rewrites to load clean-urls

In CentOS, a2enmod rewrite results in “command not found” but httpd -M lists rewrite module as listed and shared. I'm trying to enable it so can then have these rewrite rule apply so I can switch back ...
0
votes
2answers
2k views

httpd error: Address already in use: AH00072

I have a server, CentOs 6.5 which were installed xampp by a friend of mine. But I thought it's best to install apache, php and mysql from yum. I have it removed simply by using this #rm -rf ...
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
957 views

CentOS 7 won't serve static https content, why not?

I just re-installed httpd and created a static index.html file. I have firewalld configured to allow internet access to the https service. But when I type https://my.server.ip in a web browser, the ...
0
votes
1answer
546 views

Apache configuration with proxy and location

I want to map these domains to these ports. How can I do it? http://test1.example.com/phpmyadmin/ example.com:80/phpmyadmin/ http://test1.example.com/app1/ example.com:8080/app1/ ...
15
votes
2answers
32k views

apache2 Invalid command 'SSLEngine'

When I restart httpd, I get the following error. What am I missing? [root@localhost ~]# service httpd restart Stopping httpd: [ OK ] Starting httpd: ...
1
vote
1answer
31 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 ...
0
votes
1answer
751 views

Apache mod_auth_kerb: “Key table entry not found”

I want to use the Apache Module "mod_auth_kerb" to implement SSO for a Webapplication. With the following config: <VirtualHost 10.5.3.200:443> #Proxy <Proxy *> Order deny,allow Allow ...
0
votes
1answer
1k views

Configuring Apache 2.4 for CGI on FreeBSD

I am trying to run CGI on FreeBSD 9.2. I installed Apache 4.2 (pkg install apache42) Configured it to load CGI module. Also, I did chmod a+x on files in cgi-bin directory. And when I connect to ...
0
votes
1answer
20 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
570 views

Multiple DH/ECDH parameters in Apache 2.4.7 configuration file

I'm running Apache 2.4.7 on an Ubuntu 14.04 ("Trusty") server. The Ubuntu-specific package identifier is "2.4.7-1ubuntu4.1". If one does not explicitly specify DH/ECDH parameters (see below), Apache ...
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
1answer
19 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
16 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 ...
0
votes
1answer
2k views

Apache fails to start after changing cert and key

The problem appeared after I changed https certificate and key. sudo /etc/init.d/httpd restart shows this: Stopping httpd: [FAILED] Starting httpd: [FAILED] Apache's error_log: [Tue Dec 03 ...
-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 ...
0
votes
1answer
116 views

Chromebook crouton LAMP

I'm trying to install a LAMP stack on Ubuntu through crouton on a Chromebook (Acer c720p). I was able to install the following packages apache2 mysql-client mysql-server php5 libapache2-mod-php5 ...
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 ...
3
votes
3answers
9k views

How can I get Apache working (complains about logfiles) on Ubuntu after a distribution upgrade?

I upgraded from Raring to Saucy, and it says it can't open listening sockets: root@ip-10-250-42-219:/etc/apache2/sites-enabled# apache2ctl restart [Tue Oct 22 13:34:05.187996 2013] [core:warn] [pid ...
1
vote
2answers
23 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
1k views

yum install mod_auth_token not working on CentOS

On CentOS 6.5 how do I make yum install mod_auth_token work these days? According to my own HOWTO I wrote 12 months back, you used to be able to just type it now you have to DIY it, which is bad ...
0
votes
1answer
546 views

Multiple PHP Versions / cPanel with mod_fcgid

I'm trying to get multiple PHP versions working on a cPanel server which was compiled with mod_fcgid and PHP 5.3. Below is the PHP config generated by cPanel. AddHandler fcgid-script .php5 .php4 ...
0
votes
2answers
24 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
2answers
34 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 ...
3
votes
1answer
801 views

suexec with chrooted environment

I'm trying to get a chrooted Apache environment working running mod_fcgid with suexec. Looking at suexec log inside jail, the wrapper scripts are being executed with no problems, however, when I look ...
3
votes
1answer
1k views

Apache server 32 binaries vs 64 binaries? what's the difference

For Windows I used to download either 32 bit binaries from ASF site or 64 bit binaries from Apache lounge site (for no particular reason). So - that was the way I new what version I have. I've ...
0
votes
1answer
56 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 ...
0
votes
1answer
94 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 ...
1
vote
0answers
69 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
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 ...
1
vote
1answer
1k views

Apache + mod_fcgid + chroot with mod_security. CentOS/RHEL 6

I am trying to setup a web server running Apache + mod_fcgid + mod_security chroot enabled and having a real hard time to get this working. Apache was installed from official CentOS repo and mod_fcgid ...
0
votes
0answers
35 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
38 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
82 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
48 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 ...
5
votes
3answers
2k views

Transferring Files SSH SCP Error Message: 'Stdin: is not a tty'

I am using a Macbook SSH terminal and generated RSA key pairs and uploaded remote id_rsa.pub with approved permissions. I can connect with remote Apache web server. I can create, open, move, modify ...
1
vote
1answer
39 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 ...
13
votes
7answers
38k views

“Symbolic link not allowed or link target not accessible” / Apache on CentOS 6

I've got a brand new CentOS 6 installation, which has a symlink in the document root to my development files: [root@localhost html]# ls -l total 4 -rwxrwxrwx. 1 root root 0 Sep 18 20:16 index.html ...
1
vote
1answer
107 views

Apache / OpenSSL configuration keywords `SSLProtocol` vs. `SSLCipherSuite`

According to the Apache docs I can configure the cipher suite with (a.o.) two different keywords and examples on Internet often use both (but not necessarily identical to below example). What is the ...