[users@httpd] Handler added with AddHandler gets invoked when <extension> is not really an extension

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everybody,

I've just discovered that adding
 AddHandler php-fastcgi .xxx
will also parse files like test.xxx.txt and test.xxx.foobar.

I think it should just use the handler if the extension is the last part of 
the URI. Speaking regexp it should build a pattern like "<extension>$".

I've set this handler in a VirtualHost directive.

Is this a bug or am I missing something?

I'm using the Apache2 package from Ubuntu:
# /usr/sbin/apache2 -v
Server version: Apache/2.0.53
Server built:   May  6 2005 08:15:16

# dpkg -l | grep -i apache
ii  apache-common  1.3.33-4       support files for all Apache webservers
ii  apache2-common 2.0.53-5ubuntu next generation, scalable, extendable web se
ii  apache2-mpm-wo 2.0.53-5ubuntu high speed threaded model for Apache2
ii  apache2-thread 2.0.53-5ubuntu development headers for apache2
ii  apache2-utils  2.0.53-5ubuntu utility programs for webservers
ii  libapache-mod- 4.3.10-10ubunt server-side, HTML-embedded scripting languag
ii  libapache2-mod 2.4.2-5        FastCGI module for Apache2
ii  libapache2-mod 2.0.4-3        Apache 2.0 connector for the Tomcat Java ser
ii  libapr0        2.0.53-5ubuntu the Apache Portable Runtime

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux