# Cannot see webpage, only display directories (webrick)

**URL:** <https://www.ruby-forum.com/t/cannot-see-webpage-only-display-directories-webrick/84793>\
**Category:** Rails\
**Created:** [February 7, 2007, 6:42pm UTC](https://www.ruby-forum.com/t/cannot-see-webpage-only-display-directories-webrick/84793 "2007-02-07T18:42:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/3e96dc/32.png) [@yan](https://www.ruby-forum.com/u/yan)\
**Post date:** [February 7, 2007, 6:42pm UTC](https://www.ruby-forum.com/t/cannot-see-webpage-only-display-directories-webrick/84793/1 "2007-02-07T18:42:13Z")

</div>

I think I almost got it. But other than see the default welcome page in  
the public folder I cannot see other pages that I created using  
scaffold.

When I type the application name that I created using “rails” command,  
it only displays the directories under it.

I am using webrick. I guess it comes with rails.  
I have seen people saying using mongrel. Which one is better in terms of  
working with apache?

I am still not very clear about how it actually works. Any suggestion of  
any books, tutorials for beginners of those server configrations?

Thanks!

---

<div class="post-metadata">

**Author:** ![yan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/3e96dc/32.png) [@yan](https://www.ruby-forum.com/u/yan)\
**Post date:** [February 7, 2007, 8:42pm UTC](https://www.ruby-forum.com/t/cannot-see-webpage-only-display-directories-webrick/84793/2 "2007-02-07T20:42:28Z")

</div>

Yan,

Have you edited the default.html page in the public/ folder yet? You  
need  
to change that to something meaningful for your app.

If you haven’t ran across it yet, Agile Web D. (now in second  
edition) is pretty much the RoR bible. I would pick it up as a first  
step.

Bryan

> **[WorkChest - Hire Pakistani Freelancers](https://workchest.com/)**
>
> WorkChest is a Freelance Marketplace where employers can hire Pakistani freelancers for online work

---

<div class="post-metadata">

**Author:** ![yan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/y/3e96dc/32.png) [@yan](https://www.ruby-forum.com/u/yan)\
**Post date:** [February 7, 2007, 11:55pm UTC](https://www.ruby-forum.com/t/cannot-see-webpage-only-display-directories-webrick/84793/3 "2007-02-07T23:55:30Z")

</div>

I do have an index.rhtml file in that folder and I haven’t change it  
yet.  
My question is even if I change it, it won’t related to my other  
controllers.

By the way, i forgot to metion that it works fine on the local host. But  
when I use another computer to test it, it lists all directories instead  
of the scaffold pages that I created. Why that happens?

Thanks.

Bryan T. wrote:

> Yan,
> 
> Have you edited the default.html page in the public/ folder yet? You  
> need  
> to change that to something meaningful for your app.
> 
> If you haven’t ran across it yet, Agile Web D. (now in second  
> edition) is pretty much the RoR bible. I would pick it up as a first  
> step.
> 
> Bryan  
> [http://www.workchest.com](http://www.workchest.com)
