Find the answer to your Linux question:
Page 4 of 5 FirstFirst 1 2 3 4 5 LastLast
Results 31 to 40 of 48
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #31

    i make Http server setting---> Virtual host---> add--->
    user1 - Default Virual host( Not IP base or Name base)
    Document Directory root, Direcory: /home/user1/

    user2 - Default virtual host
    Document Directory root, Direcotory: /home/user2/
    Site config: index.html...

  2. #32
    [Fri Jan 17 12:31:59 2003] [error] [client 64.169.104.250] (13)Permission denied: access to /user1/index.html/user1/index.html denied, referer: http://therock1.sytes.net/user1/index.html
    [Fri Jan 17 12:32:05 2003] [error] [client 64.169.104.250] (13)Permission denied: access to /user1/index.html denied, referer: http://therock1.sytes.net/
    [Fri Jan 17 12:32:13 2003] [error] [client 64.169.104.250] (13)Permission denied: access to /user1/index.html denied, referer: http://therock1.sytes.net/
    [Fri Jan 17 12:32:30 2003] [error] [client 64.169.104.250] (13)Permission denied: access to /user2/index.html denied
    [Fri Jan 17 12:33:10 2003] [error] [client 64.169.104.250] (13)Permission denied: access to /user2/index.html denied
    [Fri Jan 17 12:33:11 2003] [error] [client 64.169.104.250] (13)Permission denied: access to /user2/index.html denied
    [Fri Jan 17 12:33:12 2003] [error] [client 64.169.104.250] (13)Permission denied: access to /user2/index.html denied
    [Fri Jan 17 12:33:12 2003] [error] [client 64.169.104.250] (13)Permission denied: access to /user2/index.html denied
    [Fri Jan 17 12:33:20 2003] [error] [client 64.169.104.250] (13)Permission denied: access to /user2/index.html denied
    [Fri Jan 17 12:33:4

  3. #33
    Linux Engineer
    Join Date
    Jan 2003
    Location
    Lebanon, pa
    Posts
    994
    I think you might have Deny FromAll set somewhere in your config. Can you paste your actual config file?

  4. $spacer_open
    $spacer_close
  5. #34
    no i just see in the site config in the "Order":
    "let all host access this directory" is checked

  6. #35
    Linux Engineer
    Join Date
    Jan 2003
    Location
    Lebanon, pa
    Posts
    994
    How are you configuring this?

  7. #36
    ok in the Server setting--> httpd setting-->
    in Main tab: Server name: therock.sytes.net
    in Virtual hosts tab: Default virtual host, user1, user2(in names), Default virtual host for all(in Address)
    I click on user1, user2 to edit
    Everyting i leave alone
    Except Document root directory and Directory i change to /home/user1/
    in Host information: "Handle all remaining all unhadle requests" is checked


    i have to go now..thanks for reply..I stil waiting for help

  8. #37
    Linux Engineer
    Join Date
    Jan 2003
    Location
    Lebanon, pa
    Posts
    994
    Ok I have no idea what you are using to edit that. Can you open the config file with like pico or vi and paste your vhost section here?

  9. #38
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Quote Originally Posted by error_log
    [Fri Jan 17 12:32:05 2003] [error] [client 64.169.104.250] (13)Permission denied: access to /user1/index.html denied, referer: http://therock1.sytes.net/
    I would guess that (13) indicates the errno from a syscall, ie. apache is not denying access, but the file perms are.
    Could you post the results of this shell command:
    Code:
    ls -ld /home /home/user[12] /home/user[12]/index.html
    Also, that "/user1/index.html" seems quite concerning. Like genlee says, can you post your actual config file, please? (Preferably enclosed in BBCode "code" tags)

  10. #39
    Code:
    [root@localhost root]# ls -ld /home /home/user[12] /home/user[12]/index.html
    drwxr-xr-x    4 root     root         4096 Jan 17 12:11 /home
    drwxr-xr-x    4 therock  therock      4096 Jan 16 01:18 /home/user1
    -rwxr-xr-x    1 root     root          143 Jan 16 01:18 /home/user1/index.html
    drwx------    3 therock1 therock1     4096 Jan 17 12:30 /home/user2
    -rw-------    1 root     root          143 Jan 16 01:18 /home/user2/index.html
    [root@localhost root]#

  11. #40
    i guess i make wrong web indirect on the no-ip site

    is that correct?? If
    therock1.sytes.net --->web indirect to --> http://therock.sytes.net/user1/index.html

    (therock.sytes.net is DNS host)
    so i think this part /user1/index.html should be placed in some where so that it can indirect
    But here i put them under /home/ , is that correct..i think it not make sense
    should i put them under /var/www/.......
    Thank for help

Posting Permissions

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