|
-
May 24th, 2003, 05:41 PM
#1
Thread Starter
Stuck in the 80s
Another Apache Question
Since I don't know where else to ask this...
How can I configure Apache to go to a default page?
Right now, if I go to http://localhost/, I get a 403 error. It's not detecting the index.html page. How can I set it up to?
Thanks in advance.
-
May 24th, 2003, 05:45 PM
#2
Thread Starter
Stuck in the 80s
Ah, nevermind, I figured it out. Two more questions, though:
[list=1][*]Now, when there isn't an index file, it shows a directory listing. How do I shut this off?[*]How can I set it up to work for .php extensions?[/list=1]
-
May 24th, 2003, 05:50 PM
#3
Thread Starter
Stuck in the 80s
Okay, I figured out #2...still need help with #1.
-
May 26th, 2003, 02:31 AM
#4
Add a .htaccess file to the directory. I don't know how exactly it looks, but I'm sure a google search on htaccess will turn up enough info.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
May 26th, 2003, 12:50 PM
#5
Frenzied Member
IndexIgnore *
<Files .htaccess>
order deny,allow
deny from all
</Files>
that will not show anything if you don't have a index page.
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
|