Zymic Forums

Webmaster resources

Zymic IRC Server

Chat in real time at irc.zymic.com - Learn More

Welcome

Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.

In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.

left Zymic Webmaster ForumsZymic Free Web HostingZymic Free Web Hosting - General Discussion & Help right
  Reply to this topic Start new topic
left right
new_ratan
post Nov 2 2011, 04:09 PM
Post #1


Newbie
*

Group: Members
Posts: 2
Joined: 2-November 11
Member No.: 216,128



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
Go to the top of the page 
 
  + Quote Post
ssfdre38
post Nov 2 2011, 04:21 PM
Post #2


THE SILENT FORUM NINJA
*******

Group: Administrators
Posts: 3,710
Joined: 23-January 10
From: on your screen
Member No.: 127,507



you can not change the index options on our servers
Go to the top of the page 
 
  + Quote Post
new_ratan
post Nov 2 2011, 04:31 PM
Post #3


Newbie
*

Group: Members
Posts: 2
Joined: 2-November 11
Member No.: 216,128



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
Go to the top of the page 
 
  + Quote Post
ssfdre38
post Nov 2 2011, 05:24 PM
Post #4


THE SILENT FORUM NINJA
*******

Group: Administrators
Posts: 3,710
Joined: 23-January 10
From: on your screen
Member No.: 127,507



no cause its a server wide setting and we do not allow users to change it
Go to the top of the page 
 
  + Quote Post
cofa
post Feb 3 2012, 04:09 AM
Post #5


Newbie
*

Group: Members
Posts: 3
Joined: 2-February 12
From: Australia
Member No.: 228,557



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?
Go to the top of the page 
 
  + Quote Post
HarshGupta
post May 23 2012, 09:38 AM
Post #6


Newbie
*

Group: Members
Posts: 4
Joined: 23-May 12
From: Delhi
Member No.: 242,979



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.
Go to the top of the page 
 
  + Quote Post
 Reply to this topic Start new topic
left right
0 Members:
left right
 


Lo-Fi Version Time is now: 24th May 2013 - 02:03 PM