using Apache in an intranet with a proxy for internet

Discussion in 'Apache' started by andreaconsole, Apr 25, 2008.

  1. #1
    Hi everyone.
    It's my first post!

    My problem:
    i use PHP and Apache for a Webserver in an intranet;
    in one page ".php" (on the server) i'd like to include a file "server side" from internet (using "include" with a URL).
    Unfortunately i can reach internet only throught a proxy, e.g. 10.25.97.102.

    How to tell Apache server to look for the URL to include throught this proxy? :confused:
    thank you

    Andrea
     
    andreaconsole, Apr 25, 2008 IP
  2. James.Blant

    James.Blant Active Member

    Messages:
    250
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #2
    James.Blant, Apr 26, 2008 IP
  3. andreaconsole

    andreaconsole Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks! i found only about setting apache as a proxy, not this one! i will try!
     
    andreaconsole, Apr 26, 2008 IP
  4. andreaconsole

    andreaconsole Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    mmmh but this is for ANT... how can i use it in httpd.conf??
     
    andreaconsole, Apr 26, 2008 IP
  5. andreaconsole

    andreaconsole Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    is the question too hard to answer or not clear? help!
     
    andreaconsole, Apr 27, 2008 IP
  6. James.Blant

    James.Blant Active Member

    Messages:
    250
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #6
    yea !
    because i was not hear before anyone want setup a webserver after a proxy server !! :-S normally they install webserver instead of proxy server , look like this :
    192.168.20.1:80 ( web )
    192.169.20.1:8080 ( proxy server )
     
    James.Blant, Apr 29, 2008 IP
  7. andreaconsole

    andreaconsole Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    thanks James
    my problem is that i have a webserver in a small intranet that is included in a bigger intranet. I have access to inernet through that bigger one. Like this:
     

    Attached Files:

    • net.jpg
      net.jpg
      File size:
      13.4 KB
      Views:
      89
    andreaconsole, Apr 29, 2008 IP
  8. andreaconsole

    andreaconsole Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    really so difficult?
    i though the cause of my problem was that i am really a novice...

    is my situation such strange?
     
    andreaconsole, Apr 30, 2008 IP