Google Answers Logo
View Question
 
Q: SSH setup about webhosting ( Answered 5 out of 5 stars,   0 Comments )
Question  
Subject: SSH setup about webhosting
Category: Computers > Internet
Asked by: xanaboy-ga
List Price: $2.00
Posted: 03 May 2004 18:32 PDT
Expires: 02 Jun 2004 18:32 PDT
Question ID: 340633
i have a question about web hosting.

i've seen some webpages,  which are able to view files under some
folders directly,  (e.g:  http://rrrr.orcon.net.nz/ )
but my webpage,  which couldn't do this  (e.g:  http://www.xanaboy.com/cangku/ )

I have SSH access of my webpage,  but I don't know how to setup to be
able to view files of my webpage.

I am looking for someone who can teach me how to do the setup,
thanks a lot.
Answer  
Subject: Re: SSH setup about webhosting
Answered By: wildeeo-ga on 03 May 2004 20:23 PDT
Rated:5 out of 5 stars
 
Hi, xanaboy. Thank you for your question.

A feature of many hosts, including Apache, which your host uses, is
the ability to create automatic indexes of all files in a directory.
Many hosts disable this feature by default, since it could be a
security risk. However, in most cases it can be enabled by simply
creating a special file.

In the folder you want indexes enabled for, create a file called
.htaccess (note the dot at the start of the name - this is important).
Insert the text "Options +Indexes" into it. Save, and an index will
automatically be generated for that folder.

It is probably easiest to create the .htaccess file on your computer
then copy it to the folder on your server where you want it (in this
case, that would be into the 'cangku' folder) via FTP. However, if you
would like instructions on how to do this through SSH, please request
a clarification and I will provide them.

Be warned that this will not work if you already have a file called
index.html (or similar) in the folder, or if your webhost has disabled
it completely. If your webhost has disabled it, you will need to email
them and ask for it to be enabled.

More information about the different options you can put in this
.htaccess file can be found at:
http://www.javascriptkit.com/howto/htaccess11.shtml

The following search may also prove useful:
://www.google.com/search?q=enabling+indexes+htaccess ('enabling
indexes htaccess')

I hope this was of use. If you have any further queries about this,
please don't hesitate to request a clarification.

Thanks,
wildeeo-ga

Request for Answer Clarification by xanaboy-ga on 06 May 2004 15:39 PDT
hi wildeeo-ga!
THANKS!!!  i got it working now!!!
http://www.xanaboy.com/cangku/
thank you sooo much!!!!  you are awesome,

however this is my first time using Google Answer,  so i have few more
little questions for ya,

What is this "answer clarification" thing for?  is this the only way
to contact,  i was trying to find your email earlir but couldn't,

if i send a answer clarification request,  is it gonna charge me again?
if not, how many times can i send this request?

do i need to rate you too?

also since u answered my question,  will the money automatically taken
off to you,  or do i need to do something to approve?

at last,  yes i would like some info. about how to use SSH to do some
setups,  but i tried quite hard to get the SSH access of my webpage, I
kinda want to try it out :)

thanks a lot.  you've been very helpful!

Clarification of Answer by wildeeo-ga on 08 May 2004 12:27 PDT
I'm glad I could be of help.

THe answer clarification is intended to allow you to ask for further
explanation if an answer does not provide the information you need.
They are free, and you can ask for as many as you like, but they are
only intended to elaborate on the original question.

It's up to you as to whether you choose to rate a reviewer (although
we appriciate it!). Five stars is the best, one star the worst rating.

The money will automatically be distributed.

As for SSH, there is a tutorial for it at
http://www.webhostgear.com/35.html. Be careful, though; it's easy to
do damage accidently using SSH.

Request for Answer Clarification by xanaboy-ga on 08 May 2004 18:09 PDT
dear wildeeo,
I just rated u a five star and tipped a little,  forgive my tiny
amount of the reward and tip.  I am a poor college student.

anyways are you guys work for Google as a pro-Google-answer-researcher?
or just private computer gosus come to here to make some extra money?

best wishes.

Clarification of Answer by wildeeo-ga on 09 May 2004 15:32 PDT
We're freelance computer geniouses. :-) I too am a poor student, so I
answer questions here to make a little money.

I'm glad I could help, and hope you'll use google answers, again!

-- wildeeo
xanaboy-ga rated this answer:5 out of 5 stars and gave an additional tip of: $1.00
Been VERY helpful!!  first time using Google Answers and been very
satirfied with it!!  RECOMMANDED!

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy