Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have apache installed on the guest machine. But in many scripts I have following condition:

if (!in_array(@$_SERVER['REMOTE_ADDR'], array(
))) {
    header('HTTP/1.0 403 Forbidden');
    exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');

Can I make a fake IP in Apache or Virtualbox?

share|improve this question
Could you explain what do you want to acieve ? I don't understandFake IP. – Joleng May 11 '12 at 14:30
I want to web server on the host machine determined the my IP as – nucleartux May 11 '12 at 14:47

You must log in to answer this question.

Browse other questions tagged .