Score:0

Apache 2.4 Require ip not working as expected

in flag
Vic

My apache conf. file looks like;

<VirtualHost *:80>
    ServerName test.co.ke
    ServerAdmin [email protected]
    DocumentRoot /var/www/html/test.co.ke
    <Directory /var/www/html/test.co.ke>
            AllowOverride All
    </Directory>

    <Location /api/payment/callback>
            Require ip 197.211.30.203
    </Location>

    ErrorLog ${APACHE_LOG_DIR}/error.log 
    CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

However, i'm getting a 403 error when i access the endpoint [/api/payment/callback] from the ip [197.211.30.203] specified above

vidarlo avatar
ar flag
What does your logs say?
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.