Likes Likes:  0
Resultaten 1 tot 8 van de 8
Geen
  1. #1
    Arjen Haayman
    access denied in apache
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    access denied in apache

    Hallo,

    Ik ben geen beginner, maar ik kom er na uren zoeken toch niet uit.
    Ik heb apache 2 geïnstalleerd en probeer m'n oude configuratie over te
    zetten naar de nieuwe server en loop meteen tegen de meest basale
    vereiste aan: lees-rechten.

    uit httpd.conf:
    User apache
    Group users

    Ik heb alle bestanden owner apache gegeven en group users.

    rechten index.html:
    -rw-rw-r-- 1 apache users 236 Dec 18 2002 index.html

    rechten DocumentRo
    drwxrwxr-x 22 apache users 4096 Jan 21 11:42 .

    en toch: permission denied meldingen. error_log:
    [Fri Jan 21 11:44:30 2005] [error] [client 10.0.0.1] (13)Permission
    denied: access to /index.html denied

    Ik ben los. Weet iemand waar het nog meer aan kan liggen?

    Arjen Haayman

  2. #2
    Arjen Haayman
    access denied in apache
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    Re: access denied in apache

    Nog een heel vreemd verschijnsel dat er wellicht mee te maken heeft: ik
    heb 3 virtual hosts gedefinieerd:

    <VirtualHost *:8080>
    DocumentRoot /home/httpd/plusleo/
    </VirtualHost>

    <VirtualHost *:8081>
    DocumentRoot /home/httpd/zakelijk/
    </VirtualHost>

    <VirtualHost *:8082>
    DocumentRoot /home/httpd/inspiratieinwerk/
    </VirtualHost>

    Als ik httpd herstart krijg ik de volgende meldingen:
    Warning: DocumentRoot [/home/httpd/plusleo/] does not exist
    Warning: DocumentRoot [/home/httpd/zakelijk/] does not exist
    Warning: DocumentRoot [/home/httpd/inspiratieinwerk/] does not exist

    Ook hier lijken de rechten gewoon goed te staan:
    [root@linux ~]# ls -ld /home/httpd/zakelijk/
    drwxr-xr-x 6 apache users 4096 Jan 21 2003 /home/httpd/zakelijk/

    thoughts anyone???

    Arjen Haayman

  3. #3
    Ronald Klip
    access denied in apache
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    Re: access denied in apache

    Arjen Haayman schreef:
    > Nog een heel vreemd verschijnsel dat er wellicht mee te maken heeft: ik
    > heb 3 virtual hosts gedefinieerd:
    >
    > <VirtualHost *:8080>
    > DocumentRoot /home/httpd/plusleo/
    > </VirtualHost>


    http://httpd.apache.org/docs-2.0/mod...l#documentroot :

    "The DocumentRoot should be specified without a trailing slash."


    --
    groet, Ronald

  4. #4
    Arjen Haayman
    access denied in apache
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    Re: access denied in apache

    Ronald Klip wrote:
    > Arjen Haayman schreef:
    >
    >>Nog een heel vreemd verschijnsel dat er wellicht mee te maken heeft: ik
    >>heb 3 virtual hosts gedefinieerd:
    >>
    >><VirtualHost *:8080>
    >> DocumentRoot /home/httpd/plusleo/
    >></VirtualHost>

    >
    >
    > http://httpd.apache.org/docs-2.0/mod...l#documentroot :
    >
    > "The DocumentRoot should be specified without a trailing slash."
    >
    >

    Helaas, maakt niet uit:
    Warning: DocumentRoot [/home/httpd/plusleo] does not exist
    Warning: DocumentRoot [/home/httpd/zakelijk] does not exist
    Warning: DocumentRoot [/home/httpd/inspiratieinwerk] does not exist

    Arjen


  5. #5
    Daniel Tryba
    access denied in apache
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    Re: access denied in apache

    Arjen Haayman <ahaayman@deadspam.com> wrote:
    >> "The DocumentRoot should be specified without a trailing slash."
    >>
    >>

    > Helaas, maakt niet uit:
    > Warning: DocumentRoot [/home/httpd/plusleo] does not exist


    Permissies van de rest van de hierarchie?


  6. #6
    Arjen Haayman
    access denied in apache
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    Re: access denied in apache

    Daniel Tryba wrote:
    > Arjen Haayman <ahaayman@deadspam.com> wrote:
    >
    >>>"The DocumentRoot should be specified without a trailing slash."
    >>>
    >>>

    >>
    >>Helaas, maakt niet uit:
    >>Warning: DocumentRoot [/home/httpd/plusleo] does not exist

    >
    >
    > Permissies van de rest van de hierarchie?

    Bedoel je dit?
    [haayman@linux home]$ ls -ld /home/httpd/plusleo
    drwxrwxr-x 13 apache users 4096 Jan 7 16:16 /home/httpd/plusleo
    [[haayman@linux home]$ ls -ld /home/httpd
    drwxrwxr-x 22 apache users 4096 Jan 21 11:42 /home/httpd
    [haayman@linux home]$ ls -ld /home/
    drwxr-xr-x 6 root root 4096 Jan 19 17:13 /home/

    Arjen

  7. #7
    Daniel Tryba
    access denied in apache
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    Re: access denied in apache

    Arjen Haayman <ahaayman@deadspam.com> wrote:
    >>>Warning: DocumentRoot [/home/httpd/plusleo] does not exist

    >>
    >>
    >> Permissies van de rest van de hierarchie?

    > Bedoel je dit?
    > [haayman@linux home]$ ls -ld /home/httpd/plusleo
    > drwxrwxr-x 13 apache users 4096 Jan 7 16:16 /home/httpd/plusleo
    > [[haayman@linux home]$ ls -ld /home/httpd
    > drwxrwxr-x 22 apache users 4096 Jan 21 11:42 /home/httpd
    > [haayman@linux home]$ ls -ld /home/
    > drwxr-xr-x 6 root root 4096 Jan 19 17:13 /home/


    Dat is normaal gesproken voldoende. Als ik even zoek op je foutmelding
    zie ik die wel meer opduiken in combinatie met selinux. Dus als je bv
    een recente fedora draaid zou dat het wel eens kunnen zijn, zie dan bv
    http://fedora.redhat.com/docs/selinux-faq-fc3/ en
    http://fedora.redhat.com/docs/selinu...fc3/index.html


  8. #8
    Arjen Haayman
    access denied in apache
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    Re: access denied in apache

    Daniel Tryba wrote:
    > Arjen Haayman <ahaayman@deadspam.com> wrote:
    >
    >>>>Warning: DocumentRoot [/home/httpd/plusleo] does not exist
    >>>
    >>>
    >>>Permissies van de rest van de hierarchie?

    >>
    >>Bedoel je dit?
    >>[haayman@linux home]$ ls -ld /home/httpd/plusleo
    >>drwxrwxr-x 13 apache users 4096 Jan 7 16:16 /home/httpd/plusleo
    >>[[haayman@linux home]$ ls -ld /home/httpd
    >>drwxrwxr-x 22 apache users 4096 Jan 21 11:42 /home/httpd
    >>[haayman@linux home]$ ls -ld /home/
    >>drwxr-xr-x 6 root root 4096 Jan 19 17:13 /home/

    >
    >
    > Dat is normaal gesproken voldoende. Als ik even zoek op je foutmelding
    > zie ik die wel meer opduiken in combinatie met selinux. Dus als je bv
    > een recente fedora draaid zou dat het wel eens kunnen zijn, zie dan bv
    > http://fedora.redhat.com/docs/selinux-faq-fc3/ en
    > http://fedora.redhat.com/docs/selinu...fc3/index.html
    >

    Geweldig! Bedankt. Het werkt nog niet allemaal, maar dit probleem is nu
    tenminste uit de weg.

    Arjen Haayman

Webhostingtalk.nl

Contact

  • Rokin 113-115
  • 1012 KP, Amsterdam
  • Nederland
  • Contact
© Copyright 2001-2026 Webhostingtalk.nl.
Web Statistics