Re: PHP and Apache configuration
| From: | Richard Heyes | Date: | Mon, 19 Jan 2009 19:38:37 +0000 |
| Subject: | Re: PHP and Apache configuration | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-286688@lists.php.net to get a copy of this message | ||
> ...
This may be of some help. It's from the Apache website and only allows
access if the Referer header is sent by the browser and is
www.yourdomain.com, ie. Direct access is not permitted:
###########################################
SetEnvIf Referer "^http://www.yourdomain.com" local_referal
Order Deny,Allow
Deny from all
Allow from env=local_referal
###########################################
--
Richard Heyes
HTML5 Graphing for Firefox, Chrome, Opera and Safari:
http://www.rgraph.org (Updated January 17th)