Re: [symfony-users] Help me in this problem starting symfony on ubuntu and xampp
First of all, as has been said, do not work as root EVER on a linux system. Users are there for your protection. Secondly, this problem is simply because you are trying to access your newly created symfony application from a browser as a user trying to get to a directory with the user for that directory being www-data. The best way to resolve this in Ubuntu is to add your user (that you browse with) to the www- data user group. You can also then add the www-data user to your group. This means that as a user you can access web apps you create under /var/www as if you were the www-data user. There are applets within Ubuntu under System Administration to help make that easy so no need really to use command line to do this. Hope that helps :) On Thursday 17 June 2010 20:27:40 Dina aquarius wrote: > Dear Symfony Users, > > You are users and me is just a beginner who can't start the using > until now because of the errors. I installed ubuntu and xampp using the > root user not "sudo" or "gksudo". Also, did the same for installing > symfony. I created the projects directory in the "/root" ( the directory > of the root user not "/home" directory of the local users). I created the > project app and frontend. I configured the Httpd.conf like this: > > * * > > *ServerName localhost * > > *DocumentRoot "/root/myproject/web" * > > *DirectoryIndex index.php * > > *Alias /sf /usr/share/php/data/symfony/web/sf * > > * * > > * AllowOverride All * > > * Allow from All * > > * * > > * * > > * AllowOverride All * > > * Allow from All * > > * * > > * * > > the "http://localhost"; works fine ( i.e the Xampp). But the " > > *http://localhost/frontend_dev.php/"; don't works and says > * > > Access forbidden! > > You don't have permission to access the requested directory. There is > either no index document or the directory is read-protected. > > If you think this is a server error, please contact the > webmaster. > > Error 403 > > Will it be solved if I repeat the steps but create the project folder > outside the root? Please, help me urgently. > > Thanks for your time, > Dina -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
Re: [symfony-users] Help me in this problem starting symfony on ubuntu and xampp
test with ./symfony project:permissions if is don't work your web file must be www-data chmod -R www-data:www-data but i'am not sure 2010/6/17 Diego Bello > On Thu, Jun 17, 2010 at 2:27 PM, Dina aquarius > wrote: > > Dear Symfony Users, > > > > You are users and me is just a beginner who can't start the using > > until now because of the errors. I installed ubuntu and xampp using the > root > > user not "sudo" or "gksudo". Also, did the same for installing symfony. > I > > created the projects directory in the "/root" ( the directory of the root > > user not "/home" directory of the local users). I created the project app > > and frontend. I configured the Httpd.conf like this: > > > > > > > > ServerName localhost > > > > DocumentRoot "/root/myproject/web" > > > > DirectoryIndex index.php > > > > Alias /sf /usr/share/php/data/symfony/web/sf > > > > > > > > AllowOverride All > > > > Allow from All > > > > > > > > > > > > AllowOverride All > > > > Allow from All > > > > > > > > > > > > the "http://localhost"; works fine ( i.e the Xampp). But the " > > > > http://localhost/frontend_dev.php/"; don't works and says > > > > Access forbidden! > > > > You don't have permission to access the requested directory. There is > either > > no index document or the directory is read-protected. > > > > If you think this is a server error, please contact the webmaster. > > > > Error 403 > > > > Will it be solved if I repeat the steps but create the project folder > > outside the root? Please, help me urgently. > > > > Thanks for your time, > > Dina > > > > -- > > If you want to report a vulnerability issue on symfony, please send it to > > security at symfony-project.com > > > > You received this message because you are subscribed to the Google > > Groups "symfony users" group. > > To post to this group, send email to symfony-users@googlegroups.com > > To unsubscribe from this group, send email to > > symfony-users+unsubscr...@googlegroups.com > > For more options, visit this group at > > http://groups.google.com/group/symfony-users?hl=en > > > > Do never work as root! > > That will never work because the webserver can not access any > directory inside the root directory. > > Try moving the code to a user directory and make sure that his home > directory has read permissions for everybody. > > Regards. > > > > -- > Diego Bello Carreño > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
Re: [symfony-users] Help me in this problem starting symfony on ubuntu and xampp
On Thu, Jun 17, 2010 at 2:27 PM, Dina aquarius wrote: > Dear Symfony Users, > > You are users and me is just a beginner who can't start the using > until now because of the errors. I installed ubuntu and xampp using the root > user not "sudo" or "gksudo". Also, did the same for installing symfony. I > created the projects directory in the "/root" ( the directory of the root > user not "/home" directory of the local users). I created the project app > and frontend. I configured the Httpd.conf like this: > > > > ServerName localhost > > DocumentRoot "/root/myproject/web" > > DirectoryIndex index.php > > Alias /sf /usr/share/php/data/symfony/web/sf > > > > AllowOverride All > > Allow from All > > > > > > AllowOverride All > > Allow from All > > > > > > the "http://localhost"; works fine ( i.e the Xampp). But the " > > http://localhost/frontend_dev.php/" don't works and says > > Access forbidden! > > You don't have permission to access the requested directory. There is either > no index document or the directory is read-protected. > > If you think this is a server error, please contact the webmaster. > > Error 403 > > Will it be solved if I repeat the steps but create the project folder > outside the root? Please, help me urgently. > > Thanks for your time, > Dina > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > Do never work as root! That will never work because the webserver can not access any directory inside the root directory. Try moving the code to a user directory and make sure that his home directory has read permissions for everybody. Regards. -- Diego Bello Carreño -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Help me in this problem starting symfony on ubuntu and xampp
Dear Symfony Users, You are users and me is just a beginner who can't start the using until now because of the errors. I installed ubuntu and xampp using the root user not "sudo" or "gksudo". Also, did the same for installing symfony. I created the projects directory in the "/root" ( the directory of the root user not "/home" directory of the local users). I created the project app and frontend. I configured the Httpd.conf like this: * * *ServerName localhost * *DocumentRoot "/root/myproject/web" * *DirectoryIndex index.php * *Alias /sf /usr/share/php/data/symfony/web/sf * * * * AllowOverride All * * Allow from All * * * * * * AllowOverride All * * Allow from All * * * * * the "http://localhost"; works fine ( i.e the Xampp). But the " *http://localhost/frontend_dev.php/"; don't works and says * Access forbidden! You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. If you think this is a server error, please contact the webmaster. Error 403 Will it be solved if I repeat the steps but create the project folder outside the root? Please, help me urgently. Thanks for your time, Dina -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en