Re: Content negotiation in Apache

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

 



Hello Rodolfo,

> A single 404 page can have PHP code that says "You asked for X page, which
> no longer exists. The new page and correct URL is Y." Here, X and Y are
> located in an array, and Y is supplied according to whatever X the visitor
> requested. I just have to read the docs to see how to get X. Surely not
> difficult.

 Well, I am not so sure this is so straight forward. This would make it 
necessary for apache to pass the non-existent document (X) as a referrer to 
the 404 document. Not sure if that actually happens. Please let me know if 
you solve this problem.

> >  ErrorDocument 404 /somepage.html
> 
> Ah... thanks! <grin>

 You're welcome.

Bye,
Leonard.

--
mount -t life -o ro /dev/dna /genetic/research


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