1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

apache directory redirection problem

Discussion in 'Apache' started by dodozhang21, Oct 31, 2005.

  1. #1
    hi, i set up apache on my windows 2000 machine. everything is fine expect when another computer try accessing my server by using http://myipaddress/dir it gets 404. while http://myipaddress/dir/ works fine. i also notice both http://localhost/dir and http://localhost/dir/ work. i've been trying to find what option i need to turn on in httpd.conf to make http://myipaddress/dir redirect to http://myipaddress/dir/ but no luck. i'm running apace 1.3.26. any help is appreciated. thanks!
     
    dodozhang21, Oct 31, 2005 IP
  2. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #2
    mod_dir should do it automatically. You could try adding this to your httpd.conf file and see if it makes a difference.
    AddModule mod_dir.c
    
    Code (markup):
     
    exam, Oct 31, 2005 IP