Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Need "forbidden" page my files are showing! >blush< Rate Topic: -----

#1 User is offline   UptonGirl

  • W.R. Private
  • Icon
  • Group: Members
  • Posts: 6
  • Joined: 14-February 09

Post icon  Posted 14 February 2009 - 07:46 PM

The site I'm currently working on > http://althea.cs.uma...01ckcindex.html < needs a "forbidden" page at http://althea.cs.umass.edu/ckc/ - as it stands, there is a file list (ugly )

This is something I haven't done before. Could someone tell me how (preferably a custom one but the usual will do) or point me to a tutorial?

Thanks. :bag:
0

#2 User is offline   Catalyst

  • Codesmith
  • Icon
  • Group: Administrators
  • Posts: 993
  • Joined: 04-April 06
  • Gender:Male
  • Location:San Diego

Posted 15 February 2009 - 06:56 PM

The easiest way is to just but a blank index.html file in there, which will get shown when they go to the directory by default.

Aside from that you can possibly set the folder to not show the file list on the server. And the most complex method (though still not hard) is to make an .htaccess file.
0

#3 User is offline   UptonGirl

  • W.R. Private
  • Icon
  • Group: Members
  • Posts: 6
  • Joined: 14-February 09

Posted 16 February 2009 - 06:31 AM

I did end up doing the .htaccess thing - worked like a charm and you're right, it wasn't heard one I understood the directions.

Thanks
0

#4 User is offline   Bronzytalk

  • W.R. Private
  • Icon
  • Group: Members
  • Posts: 43
  • Joined: 21-November 08

Posted 18 February 2009 - 06:00 AM

To create custom forbidden error you should not give permission to access ckc/ file on this server there should be a dialog box that prompt for user name and password
0

#5 User is offline   UptonGirl

  • W.R. Private
  • Icon
  • Group: Members
  • Posts: 6
  • Joined: 14-February 09

Posted 18 February 2009 - 01:53 PM

View PostBronzytalk, on Feb 18 2009, 06:00 AM, said:

To create custom forbidden error you should not give permission to access ckc/ file on this server there should be a dialog box that prompt for user name and password



I can see where that would be useful in some instances. In this case, though, no one needs to access that page but me, and anyone in my organization who has reason to want to is free to ask. No problem.

When I said "custom" I had hoped to create a simple page with the CKC design theme and a link to the correct portal - but there is really no need. It's fine as it is now, and thanks for all the help!
0

#6 User is offline   temhawk

  • W.R. Private First-Class
  • Icon
  • Group: Members
  • Posts: 263
  • Joined: 30-August 07
  • Gender:Male
  • Location:Vienna, Austria
  • Interests:travel, cg art, mac in general, music, skateboarding, relaxing, webdesign

Posted 10 June 2009 - 08:53 AM

To customize it you could use the .htaccess to redirect to a file like "forbidden.html" with the design you want.
0

#7 User is offline   sarona

  • W.R. Private
  • Icon
  • Group: Members
  • Posts: 39
  • Joined: 09-February 10

Posted 09 February 2010 - 04:38 AM

Hello,

Do you know what you...really want?

You see the fundamental reason as to why the above question is so important, is because success;

Here's a cheap magic trick for you - I bet you I can guess the answer you will give to the following question:

What do you usually do when you click on a link or button and get the classic "404 File Not Found" page?

1. You click on the "Back" button of your browser (with disgust) and go somewhere else?

2. You look at the address field and erase the text right until the next "slash" and try again?

3. You look at the address field and try the domain name, hoping to get to a home page and navigate your way to the right place?

Thanks.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users