Version 2.2 of the Apache HTTP Server. When asking questions about virtualhosts, please include the output of the following command: "apache2ctl -S" (or "httpd -S" depending on your OS)

learn more… | top users | synonyms (3)

1
vote
0answers
9 views

Apache error - File name too long: Cannot map GET

I have PHP Laravel application installed on my CentOS VPS. It is backend for my mobile application that has been recently updated. Unfortunately I wrote some bad code that results in making request ...
1
vote
0answers
12 views

200 OK blank page setting up Wordpress on restore test VM

I'm testing a partial backup of a frankly rather outdated (legacy, what can you do?) CentOS/Apache/MySQL/PHP/Wordpress server by restoring to a VM with a fresh copy of the relevant packages. After ...
0
votes
1answer
21 views

Make error_log readable by apache

Setup: CentOS 6.6, Apache 2.2.15, php 5.5.21 I 'm building a php script that displays the content of the /var/log/httpd/error_log file. Unfortunately, it does not work. The error message states: ...
0
votes
2answers
19 views

Apache load balancer won't forward to second balance member

I'm trying to figure out what is wrong with my apache config that is preventing the balancer from calling the second BalanceMember on port 9001. Or even some kind of troubleshooting options. Apache ...
0
votes
1answer
9 views

Export specific certificate from JKS using keytool

We're trying to configure Apache HTTPd to use an SSL cert from a JKS keystore file we have. Since we want only one of the certs out of the JKS (www.MySite.com) and not the others (such as ...
-4
votes
2answers
26 views

Apache Virtual Hosts Wont Resolve

I have followed this guide https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-centos-6 I have a website in /var/www/html. I followed the guide and i have the main ...
0
votes
0answers
10 views

Apache2 and LD_PRELOAD libraries wrapping

I'm trying to load a custom library on an Apache2 web server. On Unix systems, I know it's possible to do it using the LD_PRELOAD variable. I've configured /etc/apache2/envvars file to preload my ...
-1
votes
0answers
14 views

Apache add wildcard subdomain on windows 7 [migrated]

I am running on a windows 7 machine with apache installation not xampp trying to add a wildcard subdomain entry in my apache virtual hosts file but it doesn't seems to work I've added example.local ...
1
vote
2answers
23 views

Trac/Apache Displays Script Contents (WSGI)

I am struggling with a new Trac 1.0.3 install (from source after having same issue installing via easy_install). Debian 7.8 Apache 2.2.22 Python 2.7.3 Genshi 0.6 Sqlite 3.7.13 WSGI 3.3 I created ...
1
vote
1answer
27 views

SSL VirtualHost not using DocumentRoot

I'm trying to set up a self-signed SSL certificate between my own VPS and Cloudflare (next to Full SSL). I'm using the following VirtualHosts for this: <VirtualHost *:80> ServerName ...
0
votes
1answer
15 views

Apache 403 Error after several successful requests

I am experiencing some odd behavior with Apache. I have several vhosts setup on my local machine. I am currently experiencing this on 1 of the vhosts, as I am doing dev work constantly, however I ...
0
votes
0answers
12 views

Using apache with hhvm

I've tried to test hhvm (on my local machine), but did not manage to get it working. Important side-note: I need to run mod_php and fcgi at the same time. It's not possible to abandon mod_php for me ...
-2
votes
0answers
17 views

Apache2 CPU high, RAM low [on hold]

how to optimize apache2 for many simultaneous connections: about 10 - 15k per hour? CPU load is 99%, RAM 34G / 128G when there 1000 connections. Suddenly the server becomes too slow and inaccessible. ...
0
votes
1answer
13 views

Outlook autodiscover POST on webserver. Reducing overhead?

So our webserver, bobxpizza.com, like our emails, share the same domain name. We've set a CNAME with our DNS to reroute the traffic to office365, but autodiscover tries to post to our webserver first. ...
1
vote
2answers
33 views

Redirect subdomain to subdomain Apache2

Let's say I have a web server with IP address: 1.2.3.4. I also have 2 subdomains: sth.city.eu inf.xyz.city.eu I'm using apache 2 on Ubuntu Server. Here's my /etc/apache2/sites-enabled/site ...
0
votes
1answer
24 views

Subdomain using AWS Route 53, load balancer, EC2, Apache

I've tried to follow a few different tutorials on this, but can't quite get it to work. I have all of my DNS for my domain (example.com) in Route 53. Works fine. My top level domain (A record) ...
1
vote
2answers
92 views

Setting up a multi-domain apache with nameservers, but every request is handled by the default configuration

I had this sorted out before, but now I had to wipe my VPS and apparently I can't configure stuff properly anymore, so.. I've set up a Debian VPS and installed Virtualmin on it I bought a test domain ...
1
vote
0answers
8 views

What exactly does the ModSecurity SecCollectionTimeout directive?

I am having a little bit of trouble with a recurring "Failed deleting collection" error message from ModSecurity (see this discussion @ GitHub for some context). In the discussion of this error it is ...
1
vote
2answers
46 views

Is it possible to hide HTML comments from being outputted to the browser?

I'm using a PHP e-commerce script which is full of comments which are visible to the user if they were to view the source. It doesn't look professional. The comments are everywhere, and it would not ...
0
votes
1answer
36 views

How to configure php-fpm for php 5.6 and apache 2.2

I installed php 5.6, apache 2.2 and php-fpm on my centos 6.6 by using repo from https://webtatic.com/packages/php56/ I follow this instruction abd try to make php-fpm work ...
0
votes
0answers
12 views

How to use WebDav with a proxy

I am having some issues trying to get my configuration to work correctly. I am running OwnCloud on one server 192.168.168.80 that has Sabre WebDav installed and Apache with MOD_Proxy on another ...
0
votes
1answer
19 views

WHM - php.ini in public_html stops default php.ini

I have a server with WHM panel. OS is CentOS. When I put a php.ini in public_html PHP stops reading /usr/local/lib/php.ini. When I compare results of phpinfo() what I see is; error_log error_log ...
0
votes
0answers
21 views

Send apache ssl access log to syslog

I'm having an issue piping apache ssl access logs to my syslog server. I've added the following line to my apache config: CustomLog "|/usr/bin/nc -u <syslogserver> 514" "<134>%{%b %d ...
0
votes
0answers
13 views

Client denied by server configuration, after upgrade

Yesterday, after upgrade my development machine, received this messages on intermittent mode. Client denied by server configuration. I working for years with the same configuration without problems. ...
0
votes
1answer
8 views

Invalid command: 'AuthLDAPAuthoritative', perhaps misspelled

Have apache 2.2.24 running on Gentoo server. I need apache to now authenticate through windows active directory, however, on apache service restart, I am getting this error: Invalid command, ...
0
votes
0answers
25 views

How to deny everyone access except certain hosts and IPs with Apache 2.4?

I've read the first results in google and Apache 2.4 docs and there is no clear example. Currently this works (from 2.2) in a .htaccess file, I can access within the office wifi/LAN but not from my ...
0
votes
1answer
12 views

Changing web root folder's location in EasyPHP

After following this question's answers my web root folder remains the same. This is why I did: 1) Changed DocumentRoot "${path}/data/localweb" into DocumentRoot "${path}/www" 2) Changed ...
-1
votes
0answers
33 views

Can not connect to apache server within VM [on hold]

I am running CentOS 7 inside a virtual machine that is virtualized with VirtualBox. My host operating system is also CentOS 7. I am using a proxy server that is referenced in the .bashrc files of my ...
0
votes
0answers
33 views

Apache and users write permission issues

On my web server I have two distinct folders, /home/dev/ and /home/prod/, each containing several websites. As you can guess, each directory is owned by the corresponding user, devand prod. The ...
0
votes
0answers
15 views

Apache reverse proxy: Reset connection on request to numeric IP

I am running Apache as a reverse proxy, using mod_security, mod_evasive, & mod_proxy. ALL [valid] requests are serviced by vhosts using host headers and there is a default vhost defined to catch ...
0
votes
2answers
38 views

Apache mod_rewrite : RewriteRule to pass requests tomcat application [duplicate]

I am having difficulty defining a correct RewriteRule to forward requests to an application running in tomcat. I have apache with mod_rewrite enabled as well as tomcat setup with an application ...
0
votes
0answers
16 views

apache cpu and memory usage in code 302 403 404 500

I have a site, E5 2620v2 vCPUs + 16GB RAM, normally my load average near 0.6-1.2, only few times it will more than 2.0 during one day. But one day, I found somebody crawl my site's content make a ...
0
votes
0answers
21 views

Apache won't start after OSX Yosemite upgrade [migrated]

I installed Apache 2.2 using Homebrew on OSX 10.9 and it was working fine until I upgraded to Yosemite this weekend. sudo apachectl start ps aux | grep httpd ps aux | grep apache sudo ...
1
vote
2answers
19 views

apache listening to 7080 after installing ubuntu desktop (gui) on 10.04 vps

Before ubuntu desktop was installed sites were normal and everything (virtuals hosts/ sites) was working normally but suddenly it stopped listening to 80 and went on 7080 and 7081 any idea why this ...
0
votes
1answer
24 views

Can't change folder ownership via SSH

For some reason, I have a folder that I cannot read nor change its ownership. If I do a ls command, this is what I get: drwxrwxrwx 4 myusername myusername 4096 Jan 26 20:35 media1 <--- OK ...
0
votes
1answer
15 views

Htaccess, allow ip, deny ip and prompt for other

I have a list of ip which doesn't require login prompt ... I have a list of banned ip ( no prompt juste deny access ) But i need a prompt for all others ip ... I tried this : AuthType Basic ...
-1
votes
0answers
13 views

Ubuntu is not logging with a specific user [migrated]

I am new Ubuntu user basically I was using Honeydrive for the deployment of Honeypot last Activity that I have performed was updating libjasper1 after it Firefox and Terminator was not responding. I ...
2
votes
0answers
20 views

OlegDB in production [on hold]

When evaluating available NoSQL solutions, our team identified following product for evaluation: OlegDB. Site looks pretty decent and documentation is available. While site says it's production-ready ...
0
votes
2answers
95 views

My servers are overloaded with random GET requests. Why? [duplicate]

I'm getting a huge amount of traffic to web servers looking for bittorrent type queries: 110.152.78.14 - - [27/Jan/2015:01:45:22 +0000] "GET ...
-1
votes
0answers
50 views

Nginx proxy does not load image or css?

I am trying to using Nginx Proxy to reach to a webserver that is running Apache on port 80 and uptime (nodejs application) on port 8082. I am succesfully able to reach the destination and even see the ...
0
votes
0answers
11 views

upgrading Apache web server within 2.2 family on Linux centos [duplicate]

Please excuse me if this is the 900th variation of the same question, but I am relatively green at this and having trouble sourcing correct information currently, latest version of Apache Web Servers ...
0
votes
0answers
32 views

How to point Ubuntu 14.10 Apache2 (mod-wsgi) server to a specific virtual environment (Python 3.4 / Flask)?

I am running apache2 (mod-wsgi) on Ubuntu 14.10. I am getting 500 Internal Server Error when serving my web-site. I am also using Flask and Python 3.4, and virtual environment. It appears that Ubuntu ...
0
votes
1answer
38 views

IP as a method of access control? (IP Spoofing possibilities)

I'm currently investigating the use of IP addresses as a form of access control: for example, only allowing access to an Apache VirtualHost if the request originates from a specific IP address or ...
-1
votes
0answers
20 views

Apache log analyzer suggestions [on hold]

I've spent some time searching for a log analyzer but I'm having trouble finding one that meets my needs. Here's what I'm looking for and you guys know one that matches please let me know: I want ...
-1
votes
0answers
29 views

How can I restrict only one IP to access a Jenkins instance?

How can I restrict only one IP to query a Jenkins instance? I need to specify a reverse proxy server IP address to be allowed to query a Jenkins instance in another server. I need to do this so no ...
0
votes
1answer
18 views

APC not working after centos and php upgrade

I had centos 6.5 on my server. I upgraded to centos 7. With this upgrade I have php 5.4 instead of php 5.3. All works fine except APC and xhprof extension. Here is the error I am having when I try ...
0
votes
0answers
43 views

POST from Apache webserver to IIS has 130 second delay in response if using SSL

We have built a simple API using ASP.NET MVC (C#) running on IIS 7.5. The API accepts POSTed values and then returns an XML response. We have one client (using Apache webserver on Linux) that is ...
0
votes
1answer
26 views

Unable to reach apache web server through nginx proxy

I have apache server running on the following 23.xxx.xxx.10:80. I am trying to reach to one of the folders ( /var/www/cfbrokerlogs) using nginx proxy as defined below. However, when i try to reach ...
0
votes
1answer
53 views

Apache accepting requests to other servers?

I'm having problems with apache server (CentOS VPS at Amazon). When apache starts, it starts to receive hundreds of requests, this is an example of the log: 173.208.216.165 - - [25/Jan/2015:18:23:11 ...
-1
votes
0answers
17 views

Adding errorlog directive in .htaccess causes Internal Server Error 500

I'm trying get a grasp of shared hosts errors and while at it I tried to add following within .htaccess: ErrorLog /home/customers/me/rawlogs/httpd-error.log LogLevel notice But this causes Internal ...