I'm using mod_rewrite to redirect a browser to my authentication script.
Once the user is authenticated, I then want to be able to display the url they were browsing in the first place.
I readfile() the $REQUEST_URI, it opens the file, but I just get raw data output
rather than, for example, the image (.gif) referenced.
Is this because the Browser/Server cannot detect the content-type??
any ideas??
thanks,
Joe.