|
-
Apr 4th, 2002, 07:36 PM
#1
Thread Starter
Frenzied Member
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...
-
Apr 4th, 2002, 07:44 PM
#2
Fanatic Member
In httpd.conf look for this:
<IfModule mod_dir.c>
DirectoryIndex index.html
</IfModule>
-
Apr 4th, 2002, 07:49 PM
#3
Thread Starter
Frenzied Member
Nope still shows a 403 error unless I change the file name to index.html.
I'm bringing geeky back...
-
Apr 4th, 2002, 07:55 PM
#4
Fanatic Member
Ok one sec let me fiddle with it...
-
Apr 4th, 2002, 07:57 PM
#5
Fanatic Member
Bah you fool... You have to restart Apache you know
Start > Program Files > Apache > Control Server > Restart
-
Apr 4th, 2002, 08:07 PM
#6
Thread Starter
Frenzied Member
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...
-
Apr 4th, 2002, 08:11 PM
#7
PowerPoster
hehehe 
Put both in the .conf file!
-
Apr 4th, 2002, 08:15 PM
#8
Fanatic Member
Well you should be able to just add them on the back, but it doesnt seem to be working
-
Apr 4th, 2002, 08:17 PM
#9
Fanatic Member
seems to work DirectoryIndex index.htm index.html
but for some reason DirectoryIndex index.html index.htm didnt
-
Apr 4th, 2002, 09:34 PM
#10
Fanatic Member
-
Apr 4th, 2002, 09:35 PM
#11
Thread Starter
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|