[symfony-users] Re: Error 500 when i try to login the web app in production
client denied by server configuration is usually an apache error - I would check there first. Make sure you have something like: Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all in there. On Mar 9, 7:01 am, Javier Garcia wrote: > Hi, > > in production when i try to login to a user session of my web app, i get > an error 500. > > This is what i'm founding in the php error log: > > [Tue Mar 09 05:47:02 2010] [error] [client 174.37.227.194] client denied > by server configuration: /home/mainhost/public_html/whm-server-status > [Tue Mar 09 05:47:02 2010] [error] [client 174.37.227.194] File does not > exist: /home/mainhost/public_html/403.shtml > > Is related to Symfony? Any idea? > > Javi -- 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] Re: Error 500 when i try to login the web app in production
I want to add i dont have any problems using if i deploy using my own rsync/ssh command. Javi On Mar 9, 1:01 pm, Javier Garcia wrote: > Hi, > > in production when i try to login to a user session of my web app, i get > an error 500. > > This is what i'm founding in the php error log: > > [Tue Mar 09 05:47:02 2010] [error] [client 174.37.227.194] client denied > by server configuration: /home/mainhost/public_html/whm-server-status > [Tue Mar 09 05:47:02 2010] [error] [client 174.37.227.194] File does not > exist: /home/mainhost/public_html/403.shtml > > Is related to Symfony? Any idea? > > Javi -- 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] Re: Error 500 when i try to login the web app in production
But i cannot write in httpd.conf: -rw--- 1 root root 2123855 Mar 9 07:57 httpd.conf Javi On Mar 9, 8:26 pm, Gábor Fási wrote: > You have to add that in your apache config (httpd.conf or similar). > Also, try commenting the very first line (Options...) and try it that > way (obviously removing the part you just added). > > On Tue, Mar 9, 2010 at 20:19, Javier Garcia wrote: > > Hi again, > > > On 03/09/2010 02:34 PM, Billy Paradise wrote: > > > client denied by server configuration is usually an apache error - I > > would check there first. > > > Make sure you have something like: > > > > > Options Indexes FollowSymLinks > > AllowOverride All > > Order allow,deny > > Allow from all > > > > > in there. > > > Where should i write that? I tried to add it to "public_html/web/.htaccess" > > but i get an error (see below). This is the final file: > > > Options +FollowSymLinks +ExecCGI > > > > > Options Indexes FollowSymLinks > > AllowOverride All > > Order allow,deny > > Allow from all > > > > > > > RewriteEngine On > > > # uncomment the following line, if you are having trouble > > # getting no_script_name to work > > #RewriteBase / > > > # we skip all files with .something > > #RewriteCond %{REQUEST_URI} \..+$ > > #RewriteCond %{REQUEST_URI} !\.html$ > > #RewriteRule .* - [L] > > > # we check if the .html version is here (caching) > > RewriteRule ^$ index.html [QSA] > > RewriteRule ^([^.]+)$ $1.html [QSA] > > RewriteCond %{REQUEST_FILENAME} !-f > > > # no, so we redirect to our front web controller > > RewriteRule ^(.*)$ index.php [QSA,L] > > > > > Internal Server Error > > > The server encountered an internal error or misconfiguration and was unable > > to complete your request. > > > Please contact the server administrator, webmas...@tirengarfio.com and > > inform them of the time the error occurred, and anything you might have done > > that may have caused the error. > > > More information about this error may be available in the server error log. > > > Additionally, a 404 Not Found error was encountered while trying to use an > > ErrorDocument to handle the request. > > > Javi > > > -- > > 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
[symfony-users] Re: Error 500 when i try to login the web app in production
Problem solved: locally i have, for example, my "web" directory in /opt/lammp/htdocs/ rs/web. Remotely i had /public_html/web, now I changed to /public_html/ rs/web and no error 500 anymore. Javi On Mar 10, 9:45 pm, Javier Garcia wrote: > More news: > > when i get that 500 error this line below is written also in web/error_log: > > [10-Mar-2010 14:37:57] PDO Connection Error: SQLSTATE[HY000] [2002] > Can't connect to local MySQL server through socket > '/opt/lampp/var/mysql/mysql.sock' (2) > > Even if i have written this in databases.yml: > > dev: > > test: > > all: > doctrine: > class: sfDoctrineDatabase > param: > dsn: mysql:host=localhost;dbname=tirengar_rs > username: tirengar > password: mypassword > > Any idea? > > Gabor, i commented the line with "Options" but the error is the same. > > Javi > > On 03/10/2010 04:31 PM, G bor F si wrote: > > > Then try what I said, and comment the Options.. line in your > > .htaccess. I've seen that line cause troubles. > > > On Wed, Mar 10, 2010 at 13:34, Javier Garcia wrote: > > >> On 03/10/2010 10:07 AM, Eno wrote: > > >>> You need to ask whoever is hosting the application to add the config > >>> directives to your vhost configuration > > >> Do you mean modify httpd.conf? I can not modify httpd.conf, not even if i > >> ask to modify it. > > >> On 03/10/2010 10:07 AM, Eno wrote: > > >>> You need to ask whoever is hosting the application to add the config > >>> directives to your vhost configuration (or switch on .htaccess for your > >>> vhost). > > >> From my hosting provider told me i have enable .htaccess (mod_rewrite). > > >> Javi > > >> -- > >> 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
[symfony-users] Re: Error 500 when i try to login the web app in production
Problem solved: locally i have, for example, my "web" directory in /opt/lammp/htdocs/ rs/web. Remotely i had /public_html/web, now I changed to /public_html/ rs/web and no error 500 anymore. Javi On Mar 10, 9:45 pm, Javier Garcia wrote: > More news: > > when i get that 500 error this line below is written also in web/error_log: > > [10-Mar-2010 14:37:57] PDO Connection Error: SQLSTATE[HY000] [2002] > Can't connect to local MySQL server through socket > '/opt/lampp/var/mysql/mysql.sock' (2) > > Even if i have written this in databases.yml: > > dev: > > test: > > all: > doctrine: > class: sfDoctrineDatabase > param: > dsn: mysql:host=localhost;dbname=tirengar_rs > username: tirengar > password: mypassword > > Any idea? > > Gabor, i commented the line with "Options" but the error is the same. > > Javi > > On 03/10/2010 04:31 PM, G bor F si wrote: > > > Then try what I said, and comment the Options.. line in your > > .htaccess. I've seen that line cause troubles. > > > On Wed, Mar 10, 2010 at 13:34, Javier Garcia wrote: > > >> On 03/10/2010 10:07 AM, Eno wrote: > > >>> You need to ask whoever is hosting the application to add the config > >>> directives to your vhost configuration > > >> Do you mean modify httpd.conf? I can not modify httpd.conf, not even if i > >> ask to modify it. > > >> On 03/10/2010 10:07 AM, Eno wrote: > > >>> You need to ask whoever is hosting the application to add the config > >>> directives to your vhost configuration (or switch on .htaccess for your > >>> vhost). > > >> From my hosting provider told me i have enable .htaccess (mod_rewrite). > > >> Javi > > >> -- > >> 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] Re: Error 500 when i try to login the web app in production
Check the permission on the folders, Sometimes rsync changes the permissions depending on the configuration On Mar 9, 2010, at 9:35 PM, Javier Garcia wrote: > I want to add i dont have any problems using if i deploy using my own > rsync/ssh command. > > Javi > > On Mar 9, 1:01 pm, Javier Garcia wrote: >> Hi, >> >> in production when i try to login to a user session of my web app, i get >> an error 500. >> >> This is what i'm founding in the php error log: >> >> [Tue Mar 09 05:47:02 2010] [error] [client 174.37.227.194] client denied >> by server configuration: /home/mainhost/public_html/whm-server-status >> [Tue Mar 09 05:47:02 2010] [error] [client 174.37.227.194] File does not >> exist: /home/mainhost/public_html/403.shtml >> >> Is related to Symfony? Any idea? >> >> Javi > > -- > 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] Re: Error 500 when i try to login the web app in production
Hi again, On 03/09/2010 02:34 PM, Billy Paradise wrote: client denied by server configuration is usually an apache error - I would check there first. Make sure you have something like: Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all in there. Where should i write that? I tried to add it to "public_html/web/.htaccess" but i get an error (see below). This is the final file: Options +FollowSymLinks +ExecCGI Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all RewriteEngine On # uncomment the following line, if you are having trouble # getting no_script_name to work #RewriteBase / # we skip all files with .something #RewriteCond %{REQUEST_URI} \..+$ #RewriteCond %{REQUEST_URI} !\.html$ #RewriteRule .* - [L] # we check if the .html version is here (caching) RewriteRule ^$ index.html [QSA] RewriteRule ^([^.]+)$ $1.html [QSA] RewriteCond %{REQUEST_FILENAME} !-f # no, so we redirect to our front web controller RewriteRule ^(.*)$ index.php [QSA,L] Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmas...@tirengarfio.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Javi -- 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] Re: Error 500 when i try to login the web app in production
You have to add that in your apache config (httpd.conf or similar). Also, try commenting the very first line (Options...) and try it that way (obviously removing the part you just added). On Tue, Mar 9, 2010 at 20:19, Javier Garcia wrote: > Hi again, > > On 03/09/2010 02:34 PM, Billy Paradise wrote: > > client denied by server configuration is usually an apache error - I > would check there first. > > Make sure you have something like: > > > Options Indexes FollowSymLinks > AllowOverride All > Order allow,deny > Allow from all > > > in there. > > > Where should i write that? I tried to add it to "public_html/web/.htaccess" > but i get an error (see below). This is the final file: > > Options +FollowSymLinks +ExecCGI > > > Options Indexes FollowSymLinks > AllowOverride All > Order allow,deny > Allow from all > > > > RewriteEngine On > > # uncomment the following line, if you are having trouble > # getting no_script_name to work > #RewriteBase / > > # we skip all files with .something > #RewriteCond %{REQUEST_URI} \..+$ > #RewriteCond %{REQUEST_URI} !\.html$ > #RewriteRule .* - [L] > > # we check if the .html version is here (caching) > RewriteRule ^$ index.html [QSA] > RewriteRule ^([^.]+)$ $1.html [QSA] > RewriteCond %{REQUEST_FILENAME} !-f > > # no, so we redirect to our front web controller > RewriteRule ^(.*)$ index.php [QSA,L] > > > > Internal Server Error > > The server encountered an internal error or misconfiguration and was unable > to complete your request. > > Please contact the server administrator, webmas...@tirengarfio.com and > inform them of the time the error occurred, and anything you might have done > that may have caused the error. > > More information about this error may be available in the server error log. > > Additionally, a 404 Not Found error was encountered while trying to use an > ErrorDocument to handle the request. > > Javi > > -- > 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] Re: Error 500 when i try to login the web app in production
Hi Javi! Gabor is wirgth, 2010/3/9 Gábor Fási > You have to add that in your apache config (httpd.conf or similar). > Also, try commenting the very first line (Options...) and try it that > way (obviously removing the part you just added). > > but if you can not access httpd.conf (like me in my free hosting), check if your hosting let you have subdomains, i solved my problem like that (im having some other problems) so i can see the index.php page of my app. i have some subdomain : ..x10hosting.com this i redirect it to: public_html/myapplication/web i hope it help you. -- Germana Oliveira germanaoliveirab arroba gmail punto com http://626f67.wordpress.com http://slcarabobo.wordpress.com -- 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] Re: Error 500 when i try to login the web app in production
On Tue, 9 Mar 2010, Javier Garcia wrote: > But i cannot write in httpd.conf: > > -rw--- 1 root root 2123855 Mar 9 07:57 httpd.conf You need to ask whoever is hosting the application to add the config directives to your vhost configuration (or switch on .htaccess for your vhost). -- -- 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] Re: Error 500 when i try to login the web app in production
On 03/10/2010 10:07 AM, Eno wrote: You need to ask whoever is hosting the application to add the config directives to your vhost configuration Do you mean modify httpd.conf? I can not modify httpd.conf, not even if i ask to modify it. On 03/10/2010 10:07 AM, Eno wrote: You need to ask whoever is hosting the application to add the config directives to your vhost configuration (or switch on .htaccess for your vhost). From my hosting provider told me i have enable .htaccess (mod_rewrite). Javi -- 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] Re: Error 500 when i try to login the web app in production
Then try what I said, and comment the Options.. line in your .htaccess. I've seen that line cause troubles. On Wed, Mar 10, 2010 at 13:34, Javier Garcia wrote: > On 03/10/2010 10:07 AM, Eno wrote: >> >> You need to ask whoever is hosting the application to add the config >> directives to your vhost configuration >> > > Do you mean modify httpd.conf? I can not modify httpd.conf, not even if i > ask to modify it. > > On 03/10/2010 10:07 AM, Eno wrote: >> >> You need to ask whoever is hosting the application to add the config >> directives to your vhost configuration (or switch on .htaccess for your >> vhost). >> > > From my hosting provider told me i have enable .htaccess (mod_rewrite). > > Javi > > -- > 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] Re: Error 500 when i try to login the web app in production
More news: when i get that 500 error this line below is written also in web/error_log: [10-Mar-2010 14:37:57] PDO Connection Error: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/opt/lampp/var/mysql/mysql.sock' (2) Even if i have written this in databases.yml: dev: test: all: doctrine: class: sfDoctrineDatabase param: dsn: mysql:host=localhost;dbname=tirengar_rs username: tirengar password: mypassword Any idea? Gabor, i commented the line with "Options" but the error is the same. Javi On 03/10/2010 04:31 PM, Gábor Fási wrote: Then try what I said, and comment the Options.. line in your .htaccess. I've seen that line cause troubles. On Wed, Mar 10, 2010 at 13:34, Javier Garcia wrote: On 03/10/2010 10:07 AM, Eno wrote: You need to ask whoever is hosting the application to add the config directives to your vhost configuration Do you mean modify httpd.conf? I can not modify httpd.conf, not even if i ask to modify it. On 03/10/2010 10:07 AM, Eno wrote: You need to ask whoever is hosting the application to add the config directives to your vhost configuration (or switch on .htaccess for your vhost). From my hosting provider told me i have enable .htaccess (mod_rewrite). Javi -- 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