Tag Info

New answers tagged

0

Your ServerName "reptool.dev:443" doesn't look right to me, it should not have the port in it. Try: ServerName reptool.dev


0

...so the "answer" is that the premise of the question is wrong. That is, apache httpd is doing its job correctly. The real issue is that there is a caching tier somewhere between httpd on the server and my local machine. I take as evidence of this that: 1. a wget executed from my local machine is redirected to the old redirect-url, while 2. a wget ...


0

This is what I found that ended up working: <VirtualHost *:80> ServerName example2.com ProxyPreserveHost On ProxyPass / http://192.168.1.60/ ProxyPassReverse / http://192.168.1.60/ </VirtualHost> This uses a httpd module called mod_proxy which was enabled by default on my instillation.


0

first thing first, you need to address syntax error, so run httpd -t, like this (except for echo part), this way you can figure out which config file contains syntax error: [root@wcmisdlin02 conf.d]# echo blah >> php.conf [root@wcmisdlin02 conf.d]# httpd -t AH00526: Syntax error on line 33 of /etc/httpd/conf.d/php.conf: Invalid command 'blah', ...


0

I still have no idea what causes this. I discovered that it was only serving files from /Users/john and not the rest of the file system (other than the correct document root for the server), so I assume it is something related to some clever OS X file sharing something something. I checked for mod_userdir, which was not enabled. I checked all Directory and ...


0

I was using a similar tutorial, http://idroot.net/tutorials/how-to-install-mod_security-apache-on-centos-6/, and had the same problem. The issue with my installation is on CentOS the config files in /etc/httpd/conf/httpd.conf are loaded around line 220 with the line: Include conf.d/*.conf Then the tutorial had me install the following at the end of the ...


3

Try looking for a <Directory /> section and make sure that any settings within that tag are restrictive. Also check if mod_userdir is enabled and configured. Look for tags like UserDir


0

In my case I had mod_ssl installed but it was not enabled. To do this I ran: sudo a2enmod ssl


1

Had the same error on my server: > service httpd status httpd dead but subsys locked Found, that the directory /var/run/httpd was NOT readable/executable by world: drwx------ 2 root apache 4096 Apr 23 14:15 /var/run/httpd Therefore any user (beside root) could not examine the pidfile (which did exist)! The httpd-Process was already running ...


1

You need to set up a selinux policy as described in the documentation Here's the gist: [root@collectd ~]# audit2allow -a #============= httpd_t ============== allow httpd_t collectd_var_lib_t:dir read; allow httpd_t collectd_var_lib_t:file { read getattr open }; (this is the final iteration after running the next commands around 3 times and clicking ...


1

Well, there shouldn't be need for that. If none of the other VirtualHosts match the hostname, the server will use the default virtualhost, which is the first virtualhost in the configuration. Therefore the default virtualhost is usually named 000-default; just to become first in /etc/apache2/sites-enabled. So you can achieve the same outcome by renaming the ...


4

My guess was that you hit this bug: http://bugs.centos.org/view.php?id=7669 , but I don't see mod_gnutls in your loaded modules. Nevertheless, to me it seems like you've hit some kind of bug. As I can see, you don't use the latest httpd version, so you should first try and update your httpd package: yum update Please restart your httpd afterwards, then ...


0

It seems a bit chaotic. There is an apache parent process with pid 2936 listening on port 80 and 443. And there are 3 child processes 2525, 2526 and 2527 whose parent process is 11597. I would kill all those processes and then start apache again cleanly. So to them softly (not kill -9) do: kill 2525 2526 2527 11597 2936 Then check again with ps -ef and ...


1

It turned out that somehow some of the files had the wrong file ownership / permissions. I don't know just how it got this way. What I do know is that on my platform (fedora core 21) the data is held here: /var/lib/mailman So, I got myself to var/lib and ran: chgrp -R mailman mailman And, to my great surprise, that did the trick! No muss, no fuss! ...



Top 50 recent answers are included