Re: [users@httpd] Effect of AddType / Differences of AddType and AddHandler

2015-04-05 Thread Nick Kew
On Sun, 2015-04-05 at 01:21 +0200, Sebastian Pipping wrote:

> [chop]

It's historic.

Apache 1.0 had no AddHandler, so people used AddType as a hacked
workaround.  Apache 1.1 introduced AddHandler, but the AddType
hack lived on as a zombie.  There are a lot of such zombies around:
for example, almost all mod_rewrite examples you'll ever see are
obsolete but live on because "everyone knows" that mod_rewrite is
the universal configuration tool.

Multiple "extensions" are a different matter.  They are required
for some situations such as content negotiation, but in other cases
they can present a gotcha.  There may well be a case for changing
the current default behaviour.

-- 
Nick Kew


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Effect of AddType / Differences of AddType and AddHandler

2015-04-05 Thread Sebastian Pipping
Hello Nick,


On 05.04.2015 13:36, Nick Kew wrote:
> Apache 1.0 had no AddHandler, so people used AddType as a hacked
> workaround.  Apache 1.1 introduced AddHandler, but the AddType
> hack lived on as a zombie.

Has it lived on until Apache 2.2?  Until 2.4?

How does the hacked workaround work?

Thanks,



Sebastian


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Searching for files that match an URL

2015-04-05 Thread James Moe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,
  apache 2.2, 2.4

  A long time ago I saw a method that allowed URLs to be presented
without a file extension; the http processor was given some way to
look for matching files by adding from a set of extensions.
  For instance,  would be found
and processed as .
  Is this actually possible? Is there a significant cost? Or did I
mis-read the article?

- -- 
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iEYEARECAAYFAlUhwaUACgkQzTcr8Prq0ZMc/ACePxP9Y5xAQiXU0PaUGHylz0Wp
FbMAoIr3WzCRuSm/byOP2V0L8L86PtYo
=bg9l
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Apache 2.4 SSI

2015-04-05 Thread Stormy
Looking for help with SSI. We have a production boxes using Apache/2.2.22 
on Ubuntu 12.04 LTS that renders (thousands of) pages like:





which I'm trying to migrate to Apache/2.4.7 on Ubuntu 14.04 LTS.

After several hours of googling/reading/trying, these pages only render 
(perfectly) by using:




yet other  work flawlessly.

There's got to be something simple that I haven't cottoned onto... (logs 
show no errors)


Using (per virtual host) a directory:

XBitHack on
Options Indexes FollowSymLinks MultiViews Includes
AllowOverride None
Require all granted
AddType text/html .inc .html
AddOutputFilter INCLUDES .inc .html


Relevant(?) mods include cgid, fcgid, include, mpm-prefork and php5

Thanks for any thoughts, pointers, etc

Best - Paul


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org