Re: [ilugd] apache permissions
Vaibhav Singh [EMAIL PROTECTED] writes: well i sorted out the problem by just giving read permissions to my working directory chmod -R 755 /home/webapps i had already created a alias directory here. anyways thanks for the reply. ah!! You drilled a security hole?? -- Mahesh T. Pai http://paivakil.blogspot.com/ Copying an idea is plagiarism. Copying many ideas from many authors is RESEARCH. ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] apache permissions
well i sorted out the problem by just giving read permissions to my working directory chmod -R 755 /home/webapps i had already created a alias directory here. anyways thanks for the reply. On 10/7/06, Shiv [EMAIL PROTECTED] wrote: on my system together with php. My working directory is /home/webapps/ , now when i execute my pages through http://localhost/webapps/index.php Hi, Your *Working* Directory is /home/webapps/. What apache is interested in is your *Document Root* aka webroot. You need to either change your webroot to /home/webapps or use a *Directory Alias* directive inside your httpd.conf to be able to access http://localhost/webapps/index.php from the browser. catch ya later (Ive gotta UnWire Life!!!) shiv - Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less. ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/ -- My mother said to me, If you are a soldier, you will become a general. If you are a monk, you will become the Pope. Instead, I was a painter, and became Picasso. Pablo Picasso. ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] apache permissions
in infinite wisdom Vaibhav Singh spoke thus On 10/05/2006 07:29 PM: Hello members, I have edubuntu 6.06 on my system. 1.) I am learning php therefore i have installed apache2.0 through synaptic on my system together with php. My working directory is /home/webapps/ , now when i execute my pages through http://localhost/webapps/index.php or any other html file i get a error you donot have permissions to view this file . give the 'ls -al /home/webapps/index.php' and 'ls -ald /home/webapps/' . My first guess is that the /home/webapps/ is not owned by the apache user (www-data in case of ubuntu/debian systems). chow these directories to the group www-data and then try. -- raj shekhar facts: http://rajshekhar.net | opinions: http://rajshekhar.net/blog WE APOLOGIZE FOR THE INCONVENIENCE -- God's Last Message to his Creation ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] apache permissions
on my system together with php. My working directory is /home/webapps/ , now when i execute my pages through http://localhost/webapps/index.php Hi, Your *Working* Directory is /home/webapps/. What apache is interested in is your *Document Root* aka webroot. You need to either change your webroot to /home/webapps or use a *Directory Alias* directive inside your httpd.conf to be able to access http://localhost/webapps/index.php from the browser. catch ya later (Ive gotta UnWire Life!!!) shiv - Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less. ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
[ilugd] apache permissions
Hello members, I have edubuntu 6.06 on my system. 1.) I am learning php therefore i have installed apache2.0 through synaptic on my system together with php. My working directory is /home/webapps/ , now when i execute my pages through http://localhost/webapps/index.php or any other html file i get a error you donot have permissions to view this file . I have a slight idea that i have to edit the httpd.conf or apache2.conffile and change Allow deny,all and other stuff but dont know the exact statements.please provide me the necessary statements,any suggestions are welcomed. thanks -- My mother said to me, If you are a soldier, you will become a general. If you are a monk, you will become the Pope. Instead, I was a painter, and became Picasso. Pablo Picasso. ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/