Find the answer to your Linux question:
Results 1 to 5 of 5
I cant get my home drives to be seen on the web i have public_html on my home directory here is what i type bgnasty.resnet.tamu.edu/~adam if i just type bignasty.resnet.tamu.edu ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Apr 2003
    Location
    TEXAS
    Posts
    314

    public_html can not be seen on the web


    I cant get my home drives to be seen on the web

    i have public_html on my home directory

    here is what i type

    bgnasty.resnet.tamu.edu/~adam

    if i just type bignasty.resnet.tamu.edu i get the help docs just fine why wont i show my home directories

  2. #2
    Linux User
    Join Date
    Apr 2003
    Location
    TEXAS
    Posts
    314

    corecting what i said befor

    i can access it only if is say bignasty.resnet.tamu.edu/~adam/index.html

    why wont it come up automatically

  3. #3
    Linux Engineer
    Join Date
    Nov 2002
    Location
    Queens, NY
    Posts
    1,319
    In your httdp.conf file, you need to set apache so that index.html (or any other files) are defaulted when a filename is left out as in your case of bgnasty.resnet.tamu.edu/~adam. Here's how I have mine setup:
    Code:
    <IfModule mod_dir.c>
       DirectoryIndex index.html index.htm index.shtml index.cgi
    </IfModule>
    This basically states, if there IS a module called mod_dir.c, then use the directive DirectoryIndex. I believe you need that module in order to use the DirectoryIndex directive.
    What distro are you using? I'm using Debian and this was all taken care of me. I went through httpd.conf and read most of it trying to understand how apache works.
    The best things in life are free.

  4. #4
    Linux User
    Join Date
    May 2003
    Location
    CA
    Posts
    370
    Yes,

    You will have to use the DirectoryIndex attribute to specify the file you want to load, what is its vlue currently in your config file?

  5. #5
    Linux Engineer
    Join Date
    Nov 2002
    Location
    Queens, NY
    Posts
    1,319
    I'm assuming he built this by source and that httpd.conf is not configured as it might be in any linux distro.
    The best things in life are free.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •