Hi,
Is it possible to check with Rewrite, if an internal redirection has
been made to access the file?
Thanks
Regards.
You might use REQUEST_METHOD to chech the http method and other server
variables and the [P] flag in .htaccess.
If you don't use .htacces file, in the .conf file you might use
ProxyPass, but maybe is better for you, use a RewriteRule with [P] for
more flexibility.
2013/8/25 Akash Jain
> We do
I'm using a proxy to go to php file, to be sure the request comes from a
script in the server.
At /var/www/vhosts/domain.com/httpdocs (the document root of this virtual
host)
In the .htaccess file:
RewriteCond %{SCRIPT_FILENAME} -l
RewriteCond %{REQUEST_URI} tmp$
RewriteRule .* http:/