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 <maerl...@gmail.com> 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 <Directory> part you just added). > > On Tue, Mar 9, 2010 at 20:19, Javier Garcia <tirengar...@gmail.com> 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: > > > <Directory "/usr/local/www/domains"> > > Options Indexes FollowSymLinks > > AllowOverride All > > Order allow,deny > > Allow from all > > </Directory> > > > 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 > > > <Directory "/usr/local/www/domains"> > > Options Indexes FollowSymLinks > > AllowOverride All > > Order allow,deny > > Allow from all > > </Directory> > > > <IfModule mod_rewrite.c> > > 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] > > </IfModule> > > > 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