faqts : Computers : Programming : Languages : PHP : Common Problems

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

0 of 2 people (0%) answered Yes
Recently 0 of 2 people (0%) answered Yes

Entry

Can I turn a 404 .jpeg request into a pop-up or cause a new browser to open?

Dec 26th, 2005 07:54
Praveen Kumar Kukkapalli, BILL MARQUEZ,


Create a .htaccess file in the root directory under which you wanted to
redirect to .jpg.
like the below 
ErrorDocument 404 /xy.jpg
In that directory it did not find the specified file then it will show
the xy.jpg.