I mean, if under my index.html I have subfold1, I would like that anybody going to www.mydomain.com/subfold1/ instead of watching my tree folders was having some blank page, error message or so.
Thank you!
I mean, if under my index.html I have subfold1, I would like that anybody going to www.mydomain.com/subfold1/ instead of watching my tree folders was having some blank page, error message or so.
Thank you!
Pere
Thank you thaphantom.
But I think there should be a way to avoid the authomatic display of the folders tree, isn't it?
In that case we would probably be able to manage the error log with the tools provided by CPanel.
Any chance to get this?
Thanks again!
Pere
From the WHM News:
Index Manager cPanel now has an index manager that allow you to turn directory indexes on and off per directory.
(5.2.0 build 72 or later only)
You can also do this by using a custom .htaccess file in any directory you like.
You will find this option under &Index Manager& in the bluelagoon theme.
Thank you, Damian.
This is exactly what I was looking for.
I appreciate very much your help.
Regards,
Pere
By the way, Damian.
You say...
You can also do this by using a custom .htaccess file in any directory you like.
How can this be done?
Tks again,
Pere
[quote:348fe2f5a2][i:348fe2f5a2]Originally posted by Pere[/i:348fe2f5a2]
Thank you thaphantom.
But I think there should be a way to avoid the authomatic display of the folders tree, isn't it?
In that case we would probably be able to manage the error log with the tools provided by CPanel.
Any chance to get this?
Thanks again![/quote:348fe2f5a2]
create an .htaccess file and append this line to it:
Options -indexes
Please use messengers to contact me:
MSN: patrickay@msn.com
AIM: PatrickITF
Hello,
Jumping in late here... does anyone happen to know how to turn off indexing for the intire server?
Is there a option on apache or something?
Thanks, Charles
[quote:2dd8aff2a4][i:2dd8aff2a4]Originally posted by DWHS.net[/i:2dd8aff2a4]
Hello,
Jumping in late here... does anyone happen to know how to turn off indexing for the intire server?
Is there a option on apache or something?
Thanks, Charles[/quote:2dd8aff2a4]
Easiest way is to put the .htaccess in /home and in /usr/local/apache/htdocs with the Options -indexes in it and all is done.
Regards,
David
Forum Moderator
Were is this index manager located. Im using vertex as a default page.
regards,
Brian
If you're using the vertex theme you may be out of luck. I don't think that theme has been updated for a while.
How about placing it in httpd.conf?Originally posted by dgbaker
[quote:2dd8aff2a4][i:2dd8aff2a4]Originally posted by DWHS.net[/i:2dd8aff2a4]
Hello,
Jumping in late here... does anyone happen to know how to turn off indexing for the intire server?
Is there a option on apache or something?
Thanks, Charles[/quote:2dd8aff2a4]
Easiest way is to put the .htaccess in /home and in /usr/local/apache/htdocs with the Options -indexes in it and all is done.
That should make it server wide without needing htaccess files all over the server
http://forums.cpanel.net/showthread....ht=access.confOriginally posted by JC
How about placing it in httpd.conf?
That should make it server wide without needing htaccess files all over the server