Results 1 to 11 of 11

Thread: Apache problem

  1. #1

    Thread Starter
    Frenzied Member JungleMan's Avatar
    Join Date
    Feb 2001
    Posts
    2,033

    Angry Apache problem

    OK let's say someone goes to

    http://66.56.105.80/directory/

    If it doesn't find the index.html page it gives a 403 error...

    This is basically what I want but i want it to ALSO look for an index.htm before giving the 403 error.

    How do I do this?

    thanks
    I'm bringing geeky back...

  2. #2
    Fanatic Member Gimlin's Avatar
    Join Date
    Dec 2001
    Location
    Hell
    Posts
    734
    In httpd.conf look for this:

    <IfModule mod_dir.c>
    DirectoryIndex index.html
    </IfModule>

  3. #3

    Thread Starter
    Frenzied Member JungleMan's Avatar
    Join Date
    Feb 2001
    Posts
    2,033
    Nope still shows a 403 error unless I change the file name to index.html.
    I'm bringing geeky back...

  4. #4
    Fanatic Member Gimlin's Avatar
    Join Date
    Dec 2001
    Location
    Hell
    Posts
    734
    Ok one sec let me fiddle with it...

  5. #5
    Fanatic Member Gimlin's Avatar
    Join Date
    Dec 2001
    Location
    Hell
    Posts
    734
    Bah you fool... You have to restart Apache you know

    Start > Program Files > Apache > Control Server > Restart

  6. #6

    Thread Starter
    Frenzied Member JungleMan's Avatar
    Join Date
    Feb 2001
    Posts
    2,033
    Originally posted by Gimlin
    Bah you fool... You have to restart Apache you know

    Start > Program Files > Apache > Control Server > Restart
    Ah I see

    Is there a way that it can check for both index.html AND index.htm?
    I'm bringing geeky back...

  7. #7
    PowerPoster Beacon's Avatar
    Join Date
    Jan 2001
    Location
    Pub Floor
    Posts
    3,188
    hehehe

    Put both in the .conf file!

  8. #8
    Fanatic Member Gimlin's Avatar
    Join Date
    Dec 2001
    Location
    Hell
    Posts
    734
    Well you should be able to just add them on the back, but it doesnt seem to be working

  9. #9
    Fanatic Member Gimlin's Avatar
    Join Date
    Dec 2001
    Location
    Hell
    Posts
    734
    seems to work DirectoryIndex index.htm index.html

    but for some reason DirectoryIndex index.html index.htm didnt

  10. #10
    Fanatic Member Gimlin's Avatar
    Join Date
    Dec 2001
    Location
    Hell
    Posts
    734
    did you get it to work?

  11. #11

    Thread Starter
    Frenzied Member JungleMan's Avatar
    Join Date
    Feb 2001
    Posts
    2,033
    Originally posted by Gimlin
    did you get it to work?
    I'll try it later, right now I'm kinda having an MP3 crisis read about it on my other thread.
    I'm bringing geeky back...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width