Content negotiation in Apache

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

 



Hey, all:

I've been reading the docs for Apache 1.3.x trying to understand content negotiation, and while I think I'm starting to get the picture I'm not altogether clear. Can someone offer a quick hint to getting this working?

I am switching all ".html" files on my website to ".php" but I now realize that I will need a bunch of "Permanent Redirect" calls so as not to break links and search engines. And, should I ever choose to change a suffix I will have the same problem, which is why content negotiation sounds so nice. All I want is for Apache to see a URI like "http://domain.com/sendmail-howto"; and serve up sendmail-howto.php if it exists, or sendmail-howto.html if the .php file does not exist. That way my URI's will be shorter, easier to remember for users, and less prone to breakage later if/when I have to change something.

Pointers and hints most welcome!


-- Rodolfo J. Paiz rpaiz@xxxxxxxxxxxxxx http://www.simpaticus.com


-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux