Help - Search - Members - Calendar
Full Version: .htaccess Issue
Zymic Webmaster Forums > Zymic Free Web Hosting > Zymic Free Web Hosting - General Discussion & Help
new_ratan
Hi,

I want to restrict users to access js folder and files directly from url.
To achieve this I have added one .htaccess file within the js folder having following code

Options -Indexes

But because of this I'm getting 500 internal server error stating
"You have reached this page due to a malfunctioning .htaccess file"

Please help me to fix this issue

Thanking in advance

Thanks,
Ratan Pal
ssfdre38
you can not change the index options on our servers
new_ratan
QUOTE(ssfdre38 @ Nov 2 2011, 04:21 PM) *
you can not change the index options on our servers


Is there any way to achieve what I want to do?

Thanks,
Ratan Pal
ssfdre38
no cause its a server wide setting and we do not allow users to change it
cofa
Best way to deal with this is to make sure every folder has an index file, then that will be all people can see when they try to view a directory. All it needs is a message something like, "sorry, this folder is not browsable" and maybe a link back to the main page?
HarshGupta
How a user or your website visitor would know the full path of JS files? Ofcourse, there is one possible way, is you have defined the complete path in HTML section. You shouldn't do this.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.