set different .htaccess rules
| From: | Dušan Novaković | Date: | Thu, 15 Jul 2010 14:46:08 +0000 |
| Subject: | set different .htaccess rules | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-306913@lists.php.net to get a copy of this message | ||
Hello all,
I have problem with protecting files inside of folder. So, I have one
folder with files inside and the idea is to be able to see those files
(format is not important) only when you are logged in system.
I can't use solutions like to set some wierd name so that actually
user is hardly able to guess the real path to that file, something
like http://site.com/files/we23h4hk234hjksdjrjkl23jfasdf
Is there some trick with .htaccess to check some php value and set
different rules if some another value in php is set or not. I know
that you are able to set some php values in .htaccess, but as I said,
is it possible to manipulate with them inside of .htaccess. Or if
someone has some better solution, you are welcome to write it down :-)
Regards,
Dusan
--
mob: + 46 70 044 9432
web: http://novakovicdusan.com
Please consider the environment before printing this email.