port problem in apache

Discussion in 'Apache' started by stortignauz, Sep 11, 2009.

  1. #1
    Hello,

    I m having a strange problem with ports configuration
    which I cannot sort out ;-(

    I have an Apache 2 webserver on Linux Fedora10
    which I want to make visible in a local network,

    - when I try to connect locally
    (http://localhost) everything fine

    - when I try to connect to http://my_local_network_IP
    I get a "BAD REQUEST" error message

    - when I try to connect to http://my_local_network_IP:80
    I reach my index page but the relative links
    to figures, styles etc do not work,
    ie the port number 80 is not used to
    the absolute address of images etc

    - when I try to connect to http://my_local_network_IP:8000
    everything works fine, the port is used
    within the absolute path

    I followed Apache documentation and set
    Listen 80
    Listen 8000
    in httpd.conf, which should allow anyone to connect,
    and I checked that ports 80, 8000 are open, as they're

    so how can I configure the webserver
    to just be able to connect through
    http://my_local_network_IP instead of http://my_local_network_IP:8000 ??

    Clearly there's something basic that I don't know about apache ;-)

    Thanks in advance,
    A
     
    stortignauz, Sep 11, 2009 IP