Please find the command line o/p: [EMAIL PROTECTED] ~]# namei -m /home/veena/softwares/apachesrc/ f: /home/veena/softwares/apachesrc/ drwxr-xr-x / drwxr-xr-x home drwx------ veena drwxr-xr-x softwares drwxr-xr-x apachesrc [EMAIL PROTECTED] ~]# namei -m /home/veena/softwares/apachesrc/htdocs/ f: /home/veena/softwares/apachesrc/htdocs/ drwxr-xr-x / drwxr-xr-x home drwx------ veena drwxr-xr-x softwares drwxr-xr-x apachesrc drwxr-xr-x htdocs*
2008/8/19 Frank Gingras <[EMAIL PROTECTED]> > At this point, since we're moving at a snail's pace here, please run the > command 'namei -m /full/path/to/docroot/starting/from/slash' (use your own > path) and include it in the next reply. > > We'll be able to point out your error right away. > > > Ch Praveena wrote: > >> Thank you very much all of you for your patience!! >> >> I ve run the 'chmod' command and also 'chown' to the root document. But >> still its saying the same forbidden error. I will definitely check once >> again with my things once again and seek ur help.. >> >> >> >> >> >> 2008/8/19 Frank Gingras <[EMAIL PROTECTED]> >> >> >> >>> Actually, changing the ownership of the path DocumentRoot is configured >>> to >>> use to the same user apache is configured to run as is a very bad idea. >>> >>> What you should do, instead, is either changing the ownership to root, >>> while giving it write access to the group that will update the content or >>> using your regular user as the owner (provided he is the only user that >>> needs write privileges there). >>> >>> After you've done that, suppose we have /var/www/htdocs as the DocRoot, >>> you >>> want to chmod /var and /var/www to 711, and use 755 for /var/www/htdocs. >>> If >>> you need write permission for your group, use 775 in the latter. >>> >>> As for SELINUX, you can simply run the command 'setenforce 0' as root to >>> disable it. >>> >>> >>> Evert Lammerts wrote: >>> >>> >>> >>>> Your User's called 'nobody' >>>> >>>> do a >>>> >>>> >>>> >>>> >>>>> chown nobody /path/to/document/root >>>>> >>>>> >>>>>> >>>>>> >>>>> obviously, replacing /path/to/document/root with the actual path to >>>> your document root. >>>> >>>> On Tue, Aug 19, 2008 at 3:17 PM, Ch Praveena <[EMAIL PROTECTED]> >>>> wrote: >>>> >>>> >>>> >>>> >>>>> I am attaching my httpd.conf file. Please check with this.. >>>>> >>>>> >>>>> Thank you all for your patience. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> 2008/8/19 Krist van Besien <[EMAIL PROTECTED]> >>>>> >>>>> >>>>> >>>>> >>>>>> On Tue, Aug 19, 2008 at 14:44, Ch Praveena <[EMAIL PROTECTED]> >>>>>> wrote: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> Very happy to see your response :) >>>>>>> >>>>>>> I ve got the message as follows in my command line: >>>>>>> >>>>>>> [EMAIL PROTECTED] ~]# chown www-user /path/to/document/root >>>>>>> chown: `www-user': invalid user >>>>>>> [EMAIL PROTECTED] ~]# chown www-data /path/to/document/root >>>>>>> chown: `www-data': invalid user >>>>>>> >>>>>>> NOTE: I ve not given the default PREFIX path while configuring the >>>>>>> httpd >>>>>>> home directory. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> Could you please open your httpd.conf and tell us what the value of >>>>>> the "User" directive is? >>>>>> >>>>>> Krist >>>>>> >>>>>> -- >>>>>> [EMAIL PROTECTED] >>>>>> [EMAIL PROTECTED] >>>>>> Bremgarten b. Bern, Switzerland >>>>>> -- >>>>>> A: It reverses the normal flow of conversation. >>>>>> Q: What's wrong with top-posting? >>>>>> A: Top-posting. >>>>>> Q: What's the biggest scourge on plain text email discussions? >>>>>> >>>>>> --------------------------------------------------------------------- >>>>>> The official User-To-User support forum of the Apache HTTP Server >>>>>> Project. >>>>>> See <URL:http://httpd.apache.org/userslist.html> for more info. >>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>>> " from the digest: [EMAIL PROTECTED] >>>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> -- >>>>> >>>>> -Coolest Regards, >>>>> >>>>> Praveena Chalamcharla, >>>>> >>>>> >>>>> --------------------------------------------------------------------- >>>>> The official User-To-User support forum of the Apache HTTP Server >>>>> Project. >>>>> See <URL:http://httpd.apache.org/userslist.html> for more info. >>>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>>> " from the digest: [EMAIL PROTECTED] >>>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>>> >>>>> >>>>> >>>>> >>>>> >>>> --------------------------------------------------------------------- >>>> The official User-To-User support forum of the Apache HTTP Server >>>> Project. >>>> See <URL:http://httpd.apache.org/userslist.html> for more info. >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> " from the digest: [EMAIL PROTECTED] >>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >>>> >>>> >>>> >>>> >>> --------------------------------------------------------------------- >>> The official User-To-User support forum of the Apache HTTP Server >>> Project. >>> See <URL:http://httpd.apache.org/userslist.html> for more info. >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> " from the digest: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >>> >>> >> >> >> >> > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: [EMAIL PROTECTED] > " from the digest: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- -Coolest Regards, Praveena Chalamcharla,
