Results 1 to 5 of 5

Thread: Another Apache Question

  1. #1

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    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.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  2. #2

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    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]
    My evil laugh has a squeak in it.

    kristopherwilson.com

  3. #3

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Okay, I figured out #2...still need help with #1.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    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.

  5. #5
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    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
  •  



Click Here to Expand Forum to Full Width