Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3

Thread: apache question

  1. #1
    Senior Member
    Join Date
    Apr 2005
    Location
    Hatfield, England
    Posts
    855
    Member #
    9790
    I installed an apache server that runs nicely on my laptop. The only gripe i have is that its about as intelligent as a errr fish.

    How do i make it default to index when i just type in localhost/folder ?

    Currently doing so takes me to the folder directory which is starting to get just a little bit annoying.

  2.  

  3. #2
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    You can usually add, in the configuration file, something like this:
    Code:
        DirectoryIndex index.html
    Alternatively, the way it is in my config file:
    Code:
     <IfModule mod_dir.c>
        DirectoryIndex index.html index.html.var index.php index.php3 index.shtml index.cgi index.pl index.htm Default.htm default.htm
    </IfModule>
    Don't mistake lack of intelligence for high configurability and a crap default config file ;-)

  4. #3
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    Yes, Apache may be difficult to use (or, more specifically, have a high learning curve), but it's immensely powerful and configurable.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:52 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com