Help - Search - Members - Calendar
Full Version: Is .htaccess Working Here
Zymic Webmaster Forums > Web Design & Development > Server Side Scripting > PHP
wizkid0319
guys....
is .HTACCESS file working here in this hosting site???? can v on RewriteEngine???? is it really working or not??? i saw a thread posted last year by TOM(administrator) saying that he is working on it and no reply after that..... is it really working?????
Liqfan
Trying never hurts.. Haven't uploaded anything yet, but before asking a question, try it. If admin says it's working, why you ask in forums if it is working? So i'm going to repeat: Trying never hurts..
wizkid0319
QUOTE(Liqfan @ Apr 15 2008, 07:57 AM) *
Trying never hurts.. Haven't uploaded anything yet, but before asking a question, try it. If admin says it's working, why you ask in forums if it is working? So i'm going to repeat: Trying never hurts..



dude...
its not working...
Liqfan
Explain a little more? What error, what do you try to do, etc.
wizkid0319
QUOTE(Liqfan @ Apr 15 2008, 08:21 AM) *
Explain a little more? What error, what do you try to do, etc.

my problem is that i have a .JS file in my root folder which is used to do some processing. and if some one get to know the file name he can type the file name and get the source of that file. so i would like to know a way to restrict that. but i cant disable CHMOD gropuaccess read permission. coz then the application stops working as well... pls help....
urgent...

cheers
Liqfan
Most people aren't interested in it, and if someone wants it, it will already be loaded into their cache. I found a code to make it hard to read for you (from link):

CODE
1. compress the JS sheet so all the white space is removed.
so rather then

var a;
var b;
var c;
var d;
it appears as

var a;var b;var c;var d;

2. Change all the variables to

a b c.

So rather than
var about
or
var variableName

you change it to
var a
or var i

So if you had a js sheet that looked liked

var about;
var bye;
var cat;
var dog;
var doc=document;
about=document.getElementById("menu");
alert("Hello");
etc...
it would appear as
var a;var b;var c;var d;a=doc.getElementById("menu");alert("Hello");

that way the compression would make a large JS sheet too hard to read or work out. There are online tools that can make this process automatic.
wizkid0319
do u know any of the tools????
Liqfan
It took me 5 seconds to find that on google, look around, it doesn't take long if u search well. Look first, then ask again.
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-2012 Invision Power Services, Inc.