Jump to content
SAU Community

Recommended Posts

Easiest way is to add an index.html page in the root of every folder. Make it a redirect to your home-page, or just a generic 'error' page.

With the CGI - talk to Optus. It depends what sort of privilages your hosting has (i'd say not much) and what type of server they are running. You may find they already have a guestbook script available for you to use. Most hosting companies tend not to allow 'custom' CGI scripts.

Oh - and make your links open in target="_parent" or target="_blank". Nested framesets are sooo 1998 :mad:

Link to comment
https://www.sau.com.au/forums/topic/20668--/#findComment-433281
Share on other sites

james... u'r such a yuppy its not funny :mad:

easiest way is to create a file that's called .htaccess and in that put in this line:

Options -Indexes

fixes all your problems, and it'll work coz you can have .htaccess in any virtual domain (ie your optus homepage).

Link to comment
https://www.sau.com.au/forums/topic/20668--/#findComment-433410
Share on other sites

Hi darK, in order not to allow directory listing, you have to set it up on the web server itself. Unless you own the web server, you won't be able to achieve that.

so the best way is to have index.html in every directory that bring you back to your main page.

e.g. your website address is http://www.damnsexy.com/private/

and you don't want anyone to look at the stuff in your private directory, what you do is create an index.html file in private directory that bring you back to http://www.damnsexy.com/.

the index.html should look like this:

Sexy website

<script language="JavaScript">

window.location.replace("http://www.damnsexy.com/");

Link to comment
https://www.sau.com.au/forums/topic/20668--/#findComment-434404
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...