How a particular URL is processed by ip address in apache ?

Problems with the Linux version of XAMPP, questions, comments, and anything related.

How a particular URL is processed by ip address in apache ?

Postby sandeep » 02. June 2008 12:53

I want a particular URL request is processed by only limited Ip address.
For Example:
An Url - "www.exapmle.local/index.php?option=changePassword" is processed by only limited IPs say 256.160.2. By using apache configurations.
I tried to use <Location> in httpd.conf but its not working
Please help me.
sandeep
 
Posts: 1
Joined: 02. June 2008 12:31

Re: How a particular URL is processed by ip address in apac

Postby liquidx » 03. June 2008 14:33

sandeep wrote:I want a particular URL request is processed by only limited Ip address.
For Example:
An Url - "www.exapmle.local/index.php?option=changePassword" is processed by only limited IPs say 256.160.2. By using apache configurations.
I tried to use <Location> in httpd.conf but its not working
Please help me.


just do it inside the php code using $_SERVER['REMOTE_ADDR']. reject all the access attempt from unauthorized users, say from IP that are not in ur white list

good luck
liquidx
 
Posts: 13
Joined: 21. May 2008 09:34


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 112 guests