.htaccess Issue |
||
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.
Zymic Webmaster Forums Zymic Free Web Hosting Zymic Free Web Hosting - General Discussion & Help |
||
![]() |
.htaccess Issue |
||
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 |
|
|
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
|
|
|
Nov 2 2011, 04:31 PM
Post
#3
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 2-November 11 Member No.: 216,128 |
|
|
|
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
|
|
|
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?
|
|
|
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.
|
|
|
![]() |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users) |
||
| 0 Members: | ||
Forum Jump |
||
| Lo-Fi Version | Time is now: 24th May 2013 - 02:03 PM |