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 . ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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) |