Score:0

apache proxy, protect folder, exclude file

hu flag

I'm using apache as a reverse proxy and I was wondering how can I protect a folder but exclude a file within that folder. For example if I use

<Proxy http://192.168.1.10/myfolder>
  Require ip x.x.x.x
</Proxy>

how can I proxy to 192.168.1.10/myfolder/myfile.php?

Score:0
hu flag

I added the following above the folder configuration and it worked.

<Proxy http://192.168.1.10/myfolder/myfile.php>
  Order allow,deny
  Allow from all
  Satisfy Any
</Proxy>
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.