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
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 ...
0
votes
1answer
2k views

How to check mod_ssl.so version?

I'm running Apache 2.2.3 and would like to find out, how to check version of mod_ssl.so and if this module can support TLSv1.1 and TLSv1.2. Regards
2
votes
1answer
145 views

Serving webpages with Apache on Ubuntu server

I've set up an old machine running Ubuntu server 13.1. I can access it remotely with webmin and I was able to install apache that way. What I would like to be able to do is to put web pages and be ...
0
votes
2answers
828 views

Sub-process /usr/bin/dpkg returned an error code (1)

I understand that this is a generic error message, but I'm having trouble deciphering what's going on - why doesn't Apache want to update? (Reading database ... 50302 files and directories currently ...
0
votes
1answer
1k 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 ...
0
votes
1answer
4k 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 ...
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
1answer
5k views

Why am I denied access to phpmyadmin?

Here is what my phpmyadmin.conf file looks like: # # Web application to manage MySQL # <Directory "/usr/share/phpmyadmin"> Order Deny,Allow Allow from 192.168.0.2 Allow from 192.168.0....
1
vote
1answer
27 views

Printing to ubuntu client via network, using php that reside in windows 7 webserver [closed]

I plan to change my windows 7 client to ubuntu 14.04 LTS. The client has a local printer (Epson LX-310) that is used to print an invoice in web app environment built using apache with php (the web ...
1
vote
1answer
859 views

Apache created files and its permissions for CentOS 6.x

In short, I have an authenticated HTTP-POST that: posts a jpg image (created as 666 apache:www) into /directory1 (777 ftpuser:www) creates /directory2 (created as 666 apache:www) in a 777 ftpuser:...
1
vote
1answer
2k 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
2k 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
2k views

Does Apache 2.2.3 support TLSv1.1 and TLSv1.2?

How can I find out if Apache 2.2.3 supports TLSv1.1 and TLSv1.2? If possible how can I implement it?
1
vote
0answers
286 views

403 Forbidden on Sub-Folders

I am a Linux newbie and decided to do a LAMP install to start getting more familiar with it (as our company is moving more towards nix these days). Everything went great and PHPMyAdmin, MySQL, Apache/...
1
vote
0answers
481 views

Debian - Apache 2.2 & mod_php - memory usage

I have a memory problem with my servers (Debian 6.0) where is installed Apache httpd 2.2, mod_php and APC. Actually it seems that httpd allocate all available memory (4GB) when is waiting too much ...
0
votes
1answer
579 views

installing apache httpd server on RHEL-6

I have 5 systems running apache tomcat server. For load balancing, I need to install apache httpd server. How should I do this? Please provide me some useful links and your opinions on this. I am ...
3
votes
2answers
8k views

How do I find out what file Apache is serving when a port is hit?

I'm working on a server someone else set up. The server is CentOS 4.6 running Apache/2.0.59 (httpd). They have an update service setup on port 8443. I know it is working but I need to find out what ...
3
votes
1answer
793 views

Apache Request Hangs For 2 Minutes Exactly

I am experiencing some odd behavior with apache. I have requests that are hanging for exactly two minutes. The request could be one file one time, and then a completely different file another time. ...
1
vote
0answers
505 views

Service httpd is failing to start - fcgid can't create shared memory

I'm not sure why, but when I try to start the httpd service, it will not start. Server config: OS: CentOS 5.10 PHP: 5.5.7 Apache: 2.2.3 I built mod_fcgid from source, put it into the /etc/httpd/...
0
votes
1answer
88 views

Why the main page of apache points to Virtual Host

I've configured two Virtual Hosts using a single IP and following the documentation. Here the conf: VirtualHost configuration: wildcard NameVirtualHosts and _default_ servers: *:80 ...
3
votes
1answer
161 views

How to interpret the following pattern of uptime data?

I have a small web server running mysql and wordpress which after a while appears to stop processing web requests. I can't even log into the server via ssh as ssh client times out when trying to ...
0
votes
1answer
538 views

How to detect the incoming httpd Connection Counts of each VHOSTS?

With RHEL and Apache (httpd), is there a way to: Detect which v.host (domain) is gaining how many incoming connections? Because in this few days, i got a lot of incoming connections on the Server ...
0
votes
1answer
39 views

Why does apache not define where to log by default?

When searching the occurrence of the chain /var/log in default configuration files of apache this cannot be found anywhere. But log files are defined as such # part of httpd.conf ErrorLog logs/...
1
vote
0answers
143 views

Unable to start apache

I'm running CentOS7 in virtualbox on a mac (osx 10.9.3). Ultimately, I want to access the website on my Guest VM from my Host. I can Ping and SSH to VM but I can't access the webpage when entering ...
0
votes
1answer
675 views

is “ServerAdmin email@domain.tld” required in the VirtualHost in Apache?

I rather not have ServerAdmin in my VirtualHost because all it does is attract spam. It has no use what so ever. Can it be ignored?
0
votes
2answers
4k views

Redhat httpd start failed showing “ELinks: Connection refused”

I'm on RHEL 6.5 and Apache 2.2.15. And now applying a trusted SSL on the Server. After adding the respective SSL related Certs and files, my Apache is NOT starting up anymore. Here are some outputs: ...
0
votes
1answer
244 views

Apache - Allow access for folders starting with /

I'm running apache in a linux environment. I've to serve files whose directory structure have "/." in it. Now, apache by default won't allow files with /. To remove the constraint, I've included the ...
0
votes
2answers
126 views

HTTPD/apache 2.4: strange problem with alias

On httpd 2.4 alias /repo /repos <Location /repos> Require ip 192.168.0.7 </Location> I can reach repos but not repo (403 forbidden). If I use directory instead of location nothing ...
0
votes
0answers
112 views

Accessing CentOS7 server from public

recently I switched to CentOS 7 OS and set up basic webserver with Apache. I had no problems configuring SSH, FTP and LAN access to the webpage. But accessing from other IP's won't work. I'm 99% sure ...
0
votes
1answer
514 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 /var/www/domainB/...
1
vote
2answers
155 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 ...
1
vote
1answer
279 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
243 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
0answers
100 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 crs/owasp-modsecurity-crs/modsecurity_crs_10_setup....
1
vote
1answer
76 views

Apache Tomcat and Httpd - Sharing common web publication folder - CentOS

Suppose: The Httpd's Web publication folder is assigned according: Edit /usr/local/httpd/conf/httpd.conf file: DocumentRoot "/usr/local/WebFiles/Html" <Directory "/usr/local/WebFiles/Html"&...
1
vote
0answers
290 views

Vagrant + CentOS 7 - Apache fails to start, I don't see an error

I'm spending some time trying to provision a Vagrant box running from a CentOS 7 base box. After a fresh install of Apache, I am able to hit the server over http and restart the server, but as soon ...
1
vote
2answers
57 views

Reformatting Apache RewriteRule

I have these variant of urls RewriteRule ^/trendy/the-reason-for-example/? http://www.example.com/trendy/the-reason [NC, L, R=301] RewriteRule ^/lol/2015/10..._for-example http://www.example.com/lol/...
2
votes
0answers
64 views

Apache 2.2 and php-fpm directory configuration

I have installed apache 2.2 and php-fpm. In httpd.conf: DocumentRoot "/var/www/local.site/public_html <Directory /> AllowOverride None Order Deny,Allow Deny from all </Directory&...
1
vote
1answer
161 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 ...
1
vote
1answer
155 views

Need to grab IP of visitors from the Apache logs

I want to store the IP of the visitors to my website, and I want to use PHP. Should I use cron for it or how will be the visitors' IP will be automatically stored?
0
votes
1answer
2k views

Error while Compiling Subversion with a custom-compiled Apache on a shared server

Am using a RHEL 5.5 shared server, my user has complete access to /opt folder. No root access, cant write to /etc, /usr etc. So, I downloaded httpd-2.4.6 and httpd-2.4.6-deps onto /opt (ie. /opt/...
0
votes
0answers
158 views

Why does “Connection Failed: 2002” display randomly on my PHP/MySQL website?

I'm running CentOS 6 with Apache/PHP/MySQL. PS. I'm sort of a novice at Linux, but I did my best to gather info before coming here. I'm now a bit stuck. I recently upgraded PHP to version 5.5.12. I ...
1
vote
0answers
158 views

Trying to figure out how to install Apache for linux

Forgive me for being an amateur at all of this. I spent more than a couple hours trying to figure this out, and as a beginner it's getting frustrating. I'm following these set of instructions from ...
0
votes
1answer
76 views

ubuntu 14.04 apache 403 error befor logging in

i have an ubuntu Desktop version with LAMP SERVER installed on it when i restart the server and try to access it over the network i get Error 403 forbidden but after i login to that system from ssh or ...
0
votes
1answer
87 views

Running SSH command from PHP gives sudo: no tty present and no askpass program specified error even though NOPASSWD settings are done

I am using LAMPP to run apache server. From a php file I am executing a python script which executes ssh, scp commands. But I am getting error: sudo: no tty present and no askpass program specified ...
1
vote
2answers
2k views

Apache Virtual Host Include Not Working [closed]

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 ...
0
votes
0answers
188 views

How do I add a Redis Cluster to a Pacemaker CentOS 7 Cluster?

I need to set up a CentOS 7 web server cluster that is able to manage user sessions while also load balancing across the nodes in the cluster. Towards this end, I have transcribed instructions from ...
1
vote
1answer
2k views

Fedora 22 - Failed to restart httpd.service: Access denied

I want to start web development and I was trying to install LAMP. I installed Apache using this tutorial but the command they give to start the apache server fails: systemctl start httpd.service ...
3
votes
3answers
5k views

How to configure permissions to allow gedit, apache, and an IDE play together?

I'm using plain Ubuntu Desktop 11.04 and installed my lamp stack using lamp-server. I am trying to use Netbeans as my IDE. Currently, all virtual hosts are being run from /var/www/vhostname -- but as ...
2
votes
2answers
1k 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 ...