Find the answer to your Linux question:
Results 1 to 4 of 4
ok well i have my server running with apache 2.0 using linux redhat 9.0. how can i make a subfolder, this is what i have www.mypage.com and this is what ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Oct 2005
    Posts
    110

    help with subfolder


    ok well i have my server running with apache 2.0 using linux redhat 9.0. how can i make a subfolder, this is what i have www.mypage.com and this is what i want www.mypage.com/addfolderhere. this is where my folder is for my site /var/www/error/noindex.html where noindex.html thats my site any pro in the house

  2. #2
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    You'll have your server root in something like /var/www/htdocs/ in this directory you'll have the index.html file. Also in this directory you can put subdirectories, and put files in that, so if you have a subdirectory named foo in /var/www/htdocs, so /var/www/htdocs/foo, the directory will be accessable via www.mysite.com/foo.

    To create the subdirectory just use the mkdir command in the command line, or use a filebrowser such as rox or knoqueror.
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  3. #3
    Linux Newbie
    Join Date
    Oct 2005
    Posts
    110

    help with index.html

    i dont have /var/www/htdocs i have /var/www/html but my site is not there its in /var/www/error/noindex.html

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    I'm not sure if you document root will be in /var/www/error/
    Check your /etc/apache2/httpd.conf file to see where the Document Root is (it should say someware near the top).
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

Posting Permissions

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