[users@httpd] Strange Apache behavior

2015-07-21 Thread John Fisher GM
We're running Apache 2.2 on Debian 7 (Wheezy). We run approximately 24 vhosts, mostly small sites but also one large site. Some sites are Drupal, some are Wordpress and some are handcoded going back to 1995. Our structure generally is: /home /home/mysite-1/public_html/index.html

Re: [users@httpd] Alias /doc/ /usr/share/doc/

2015-07-19 Thread John Fisher GM
That was quick. Thank you very much. On 07/19/2015 08:43 PM, Yehuda Katz wrote: The allow statement only lets you view the docs from localhost, which explains the 403 (you should see that in your error log). You can safely remove those. - Y

[users@httpd] ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

2015-07-19 Thread John Fisher GM
A second question... Again, running Apache 2.2 with Debian 7. Trying to simplify all the vhost config files. In the sites-available files, there is the following code: ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ Directory /usr/lib/cgi-bin AllowOverride None Options

[users@httpd] Alias /doc/ /usr/share/doc/

2015-07-19 Thread John Fisher GM
We're running Apache 2.2 on Debian 7 wheezy. We have approximately 24 virtual hosts. After running a few years, we saw some issues so we're reviewing the entire Apache config. I hope this is an easy question :) On most of the files in sites-available, there is the following code: Alias

Re: [users@httpd] ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

2015-07-19 Thread John Fisher GM
Again, thank you. I looked at cgi-bin. There are two files, php and php5, each 8 MB in size. That seems a bit odd. But in this small site, we're not using php, so we're OK. I realized the script we are running is not invoked by apache. It's run by chron and that invokes the .pl file (it's a