Bluehost.com Web Hosting $6.95

Getting a default page to load. (editing httpd.conf isnt wokring)

This is a discussion on Getting a default page to load. (editing httpd.conf isnt wokring) within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hi, I read that you edit the httpd.conf file to set up the default display page, also you use . ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-19-2006
DavidMatyas@gmail.com
 
Posts: n/a
Default Getting a default page to load. (editing httpd.conf isnt wokring)

Hi,
I read that you edit the httpd.conf file to set up the default display
page, also you use . htaccess to disable directory listing, but for
some reason is doesnt work by me.

"DirectoryIndex index.html index.html.var index.php"

But when one access a directory for example like
www.mysite.com\mt\
it still displays directory.

I changed the default location of public files from
htdocs to public_html
is this cuasing the problem?


Thank you

  #2 (permalink)  
Old 01-19-2006
Kees Nuyt
 
Posts: n/a
Default Re: Getting a default page to load. (editing httpd.conf isnt wokring)

On 18 Jan 2006 18:34:06 -0800, DavidMatyas@gmail.com wrote:

>Hi,
>I read that you edit the httpd.conf file to set up the default display
>page, also you use . htaccess to disable directory listing, but for
>some reason is doesnt work by me.
>
>"DirectoryIndex index.html index.html.var index.php"
>
>But when one access a directory for example like
>www.mysite.com\mt\
>it still displays directory.
>
>I changed the default location of public files from
>htdocs to public_html
>is this cuasing the problem?
>
>
>Thank you


<Directory .....>
..
Options -Indexes
..
</Directory>

See also:
http://httpd.apache.org/docs/2.0/mod/core.html#options

Hope this helps,
--
( Kees
)
c[_] A language is a dialect with an army and a navy. (#136)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:06 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0