problem with handler after upgrade from apache to apache2

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

 



Hi to everybody!

The following unwanted feature(?) appeared after I upgraded from apache to apache2:

In Apache, I had in the configuration the following lines, in order to create picture thumbnails on-the-fly:

Action thumbnail /cgi-bin/resize.cgi
AddHandler thumbnail .jpgTN

The user hits the url of a jpg image, say: http://myserv/test.jpg and gets the original image. If the user hits http://myserv/test.jpgTN, the handler calls the resize.cgi which gets the 'test.jpgTN' (using $ENV{"PATH_TRANSLATED"}), understands that the thumbnail of test.jpg is needed, resizes test.jpg and throws it to the browser. Note: test.jpgTN does not really exist on disk.

That worked in apache, but as soon as I upgraded to apache2, it stopped working, and after some troubleshooting I realized that it only works when test.jpgTN exists on the disk (even if it is a zero-length file created by 'touch test.jpgTN'.

The error.log just prints that file blah-blah.jpgTN does not exist. That means that the handler is not invoked...

Why? :-(

My set-up is: Debian Etch, Apache/2.2.3. If anybody has heard of that feature(?)
 or imagines what is wrong, I can send the config files.

And a meta-question because I'm new to the list: how do you send a config file? Simply paste? Can you send attachments to the list?

Thanks!
Giorgos




---------------------------------------------------------------------
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