It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

Html linking to a directory

Html linking to a directory

Postby SquallGG89 on Tue Apr 17, 2007 6:38 pm

Hi, i'm trying to do something like this site http://www.tcd.ie/Germanic_Studies/htm/newsandevents/events/ linking to a directory, but a normal a href tag won't work... does anybody know how to do it? Thank you so much :)
SquallGG89
 
Posts: 2
Joined: Tue Apr 17, 2007 6:34 pm

Postby webmaster on Tue Apr 17, 2007 10:48 pm

Hi and welcome to DEVPPL.

Put a few image-files in a folder. Then visit yoursite.com/foldername/ and it will probably be printing out the images like that.
Make sure to check out our TNX Review and Link Vault Review
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden

Postby Ezdo on Thu Apr 19, 2007 12:54 am

What you see when you link to a directory rather than a specific file isn't a product of your browser or link code, it depends entirely on how the actual web server is configured.

There are many many possibilities, a few common ones are:

    The "index" file of the directory (most common)
    Message saying the directory does not allow its contents to be listed
    Message saying you do not have access to that directory
    Message saying it is forbidden to access that directory
    A list of files contained in the directory, formatted according to the web server


Hope this helps,
Ezdo
Ezdo
50+ Club
 
Posts: 51
Joined: Thu Apr 19, 2007 12:07 am

Postby SquallGG89 on Fri Apr 20, 2007 4:26 am

Thank you, it helps a lot!
SquallGG89
 
Posts: 2
Joined: Tue Apr 17, 2007 6:34 pm


Who is online

Users browsing this forum: No registered users and 4 guests