2011/5/16 孙俊 <wiennesun@xxxxxxxxx>: > I think this situation is common Look into mod_xsendfile. You can do the authentication using PHP, then instead of sending the file, simply send a header to apache, which will cause it to send the file on your behalf. --------------------------------------------------------------------- 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