full path needed instead of hostname only

Discussion in 'Apache' started by kondziq, Aug 5, 2010.

  1. #1
    Hi,

    I installed apache22 and when trying to connect from another PC i need to give full path to index.html, any idea why ? Another words I put 192.168.1.1 to my browser and it should pop up with 'It works!', right ? It does not unfortunately. I need to put 192.168.1.1/index.html - that works. Any idea why ?

    Thanks,
    Konrad
     
    kondziq, Aug 5, 2010 IP
  2. tolra

    tolra Active Member

    Messages:
    515
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    80
    #2
    Check you have DirectoryIndex index.html in httpd.conf and/or it's not being overridden somewhere.
     
    tolra, Aug 5, 2010 IP
  3. kondziq

    kondziq Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi,

    It was exactly what you thought it is ;] As a matter of fact I compiled apache without mod_dir ;]

    Thanks for help!

    K.
     
    kondziq, Aug 6, 2010 IP