Webspace setup question

Started by GUB, Apr 27, 2009, 08:14:25

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GUB

I have all my details and am succesfully uploading via an FTP client, however I don't see what I think I should?

All I want to do is have somewhere to upload files that I can then link to.  Nothing fancy, just a simple file store.  I have a basic index/html (copied from another thread) but that just comes up with a blank screen, I thought I would see a folder/file structure?

Any help appreciated :) thanks

kinmel

#1
Welcome to IDNet and the forum    :welc: :karma:    get ready for a different ISP experience.


If your home page contains a file named index.html, then the contents of that file are displayed -  eg my Idnet webspace with index.html

If your home page DOES NOT contain a file named index.html, then the index of files in the home directory are displayed -  eg my Idnet webspace without index.html

If you already have a file index.html in your home directory and the page shows up blank,  then, either index.html does not contain any html Code, or you are entering the wrong URL in your browser.
Alan  ‹(•¿•)›

What is the date of the referendum for England to become an independent country ?

Rik

Thanks for that, Alan.  :thumb: :karma:

Welcome to the forum, GUB. :welc: :karma:
Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Sebby


GUB

Thanks for the welcomes, and the input, however I am still stuck  :red:

If I delete the index.html file I get a 403 forbidden message.  Have a look and see http://mjm.www.idnet.com/

Rik

Have a word with support, it may be a permissions problem which they can fix in a jiffy for you. The fact that you are uploading OK puzzles me slightly, but support will quickly work out what's gone wrong for you. (An email is fine if you can't conveniently phone them.)
Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Rik

I've had a word with support on your behalf. They can see a file you've uploaded, but they think that what you want to do can't be done on the free webspace as simply as you would like. OTOH, file access is doable, eg:

http://rik.www.idnet.com/us250409.jpg should reveal a photo to you.

Unless you give people access with password and username (not recommended), then you need to send individual links, as above. Remember that the whole thing is case-sensitive, ie G and g are not the same thing.

Does that help at all?
Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

GUB

Ah, some progress!  I can link files in the way you say, but I do not see the file listing as shown in the post by kinmel (the second link he posted) and I think I should be able to?  I used to be able to do it on my Eclipse webspace, so assumed it was a basic thing?

Sebby

How about if you create a new folder, then put the files there? It might just be that directory listing is not allowed when it's the root directory.

Rik

It doesn't work for me either, so I'm not sure how Alan did it. :( However http://rik.www.idnet.com/Smileys has no index file and returns the 403 error, but http://rik.www.idnet.com/Smileys/rofl.gif works. Sadly, it's not as simple as being in the root.
Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

kinmel

I cheated with the second link this morning, because I needed to keep 2 pages live, the second was a sub-directory.

However, if my home page does not have index.html then it does show an index of the files in the home directory, have a look  -       http://a_woodward.www.idnet.com
Alan  ‹(•¿•)›

What is the date of the referendum for England to become an independent country ?

Rik

You still appear to have an index page from here, Alan, ie I see the temporary message plus the iDNet bit...

Oops, cleared cache, now you don't.  :blush:

Still doesn't work on my webspace though.
Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

kinmel

Quote from: Rik on Apr 27, 2009, 19:46:54
You still appear to have an index page from here, Alan, ie I see the temporary message plus the iDNet bit...

Oops, cleared cache, now you don't.  :blush:

Still doesn't work on my webspace though.

Very strange, I am not aware of anything deliberately altered on my space.
Alan  ‹(•¿•)›

What is the date of the referendum for England to become an independent country ?

Rik

I am still wondering if it's a permissions issue on the server... I'll talk to support again in the morning.
Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

kinmel

Playing around with permissions on my servers at home, I have accidentally used FTP to the wrong site and have added a faulty .htaccess file to my Idnet webspace.

It's proper broken now  :bawl:

Hope support don't have too much trouble fixing it when they read my email in the morning.  :red:
Alan  ‹(•¿•)›

What is the date of the referendum for England to become an independent country ?

Simon

I'm sure they will sort it, Alan.  ;)
Simon.
--
This post reflects my own views, opinions and experience, not those of IDNet.

kinmel

#16
Quote from: Simon on Apr 27, 2009, 23:11:31
I'm sure they will sort it, Alan.  ;)

I have no doubt that they will   :thumb:.

When reading up on the topic l find that the experts agree that not allowing indexing of the home folder is a "Good Thing" as it greatly improves security. Otherwise a missing index.html leaves the files on your webspace wide open to everyone.

I expect we will find that Idnet follow good practice and turn indexing off by default and that my Idnet webspace was incorrectly configured. ( well it is now  ::) ).


Alan  ‹(•¿•)›

What is the date of the referendum for England to become an independent country ?

kinmel

Idnet have reset my webspace already, they didn't shout at me either.

My webspace now works the same as yours, if no index.html is present then 403 error.
Alan  ‹(•¿•)›

What is the date of the referendum for England to become an independent country ?

Rik

GUB

I've had a word with support on this, and to do what you want, you need to create and upload an htaccess file.

Open Notepad, then type Options +Indexes - note the capital O & I, and the space before the + sign (but not after). Hit Save as, then select all files. Type the name .htaccess and save. You should then have a file called .htaccess, with no extension. Upload this to your webspace root folder via FTP, and the list of files should appear.
Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Sebby

.htaccess is the extension; the file has no name. You'll need to save it in quote marks in Notepad, otherwise you'll end up with a file called .htaccess.txt.

Rik

I didn't realise that, Seb, but it makes sense. Provided you change to all files from .txt when saving, Notepad will save the file correctly.
Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Sebby

Oh right, is there an option to save as something other than txt?

Rik

Yes, if you select the 'all files' option, see screenshot.

[attachment deleted by admin]
Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Sebby