Hi Robert, I believe this is about the same as what i''ve got with the exception you append /blog onto your dispatch and I''m using Rewritebase. Although I tried that as well to eliminate any possible solutions/problems. I''ve been working on this for almost two days straight trying to solve this problem, but I''m about at the end of my rope. I still haven''t found the solution. I think I''m getting further, but I still receive the same error. I know the alias is working because I can call the /blog/500.html file directly and it works. Here is what I''m at now in terms of my apache error log: [Mon May 16 21:04:23 2005] [notice] Digest: generating secret for digest authentication ... [Mon May 16 21:04:23 2005] [notice] Digest: done [Mon May 16 21:04:24 2005] [notice] mod_python: Creating 4 session mutexes based on 150 max processes and 0 max threads. [Mon May 16 21:04:24 2005] [notice] FastCGI: process manager initialized (pid 8512) [Mon May 16 21:04:26 2005] [notice] Apache/2.0.48 (Fedora) configured -- resuming normal operations [Mon May 16 21:04:27 2005] [error] [client 209.50.252.138] Directory index forbidden by rule: /var/www/html/ [Mon May 16 21:04:28 2005] [warn] FastCGI: (dynamic) server "/home/ caged/apps/typo/public/dispatch.fcgi" started (pid 11553) [Mon May 16 21:04:32 2005] [warn] FastCGI: (dynamic) server "/home/ caged/apps/typo/public/dispatch.fcgi" started (pid 16193) [Mon May 16 21:04:35 2005] [warn] FastCGI: (dynamic) server "/home/ caged/apps/typo/public/dispatch.fcgi" started (pid 19528) [Mon May 16 21:04:38 2005] [warn] FastCGI: (dynamic) server "/home/ caged/apps/typo/public/dispatch.fcgi" started (pid 19542) [Mon May 16 21:04:41 2005] [warn] FastCGI: (dynamic) server "/home/ caged/apps/typo/public/dispatch.fcgi" started (pid 19551) [Mon May 16 21:04:44 2005] [warn] FastCGI: (dynamic) server "/home/ caged/apps/typo/public/dispatch.fcgi" started (pid 19872) [Mon May 16 21:04:47 2005] [warn] FastCGI: (dynamic) server "/home/ caged/apps/typo/public/dispatch.fcgi" started (pid 20288) [Mon May 16 21:04:50 2005] [warn] FastCGI: (dynamic) server "/home/ caged/apps/typo/public/dispatch.fcgi" started (pid 23040) [Mon May 16 21:04:53 2005] [warn] FastCGI: (dynamic) server "/home/ caged/apps/typo/public/dispatch.fcgi" started (pid 23586) [Mon May 16 21:04:56 2005] [warn] FastCGI: scheduled the start of the last (dynamic) server "/home/caged/apps/typo/public/dispatch.fcgi" process: reached dynamicMaxClassProcs (10) [Mon May 16 21:04:56 2005] [warn] FastCGI: (dynamic) server "/home/ caged/apps/typo/public/dispatch.fcgi" started (pid 24096) I thought the directory index error might be due to the problem that inside a rule <Directory "/var/www/html> I had: AllowOverride None I changed this to AllowOverride All to no avail. I''ve tried everything I know to try, and I''m about ready to throw in the towel unfortunately. I''m going to copy this to the Rails list as well to see if anyone there might have a solution. -Justin On May 16, 2005, at 2:17 AM, Robert Bousquet wrote:>> Any idea on what could be the problem and how to go about fixing it? >> > > Not really :) but I can tell you how I do it. I run my typo blog > in a /blog subdirectory and here''s the steps I took: > > > 1) I added this to httpd.conf: > > Alias /blog /path/to/typo/public > <Directory /path/to/typo/public> > Options ExecCGI FollowSymlinks > AllowOverride All > </Directory> > > > 2) In .htaccess I changed this line: > > RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] > > to this: > > RewriteRule ^(.*)$ /blog/dispatch.fcgi [QSA,L] > > > This worked for me so I can vouch for it. I''m not sure about the > wiki suggestions you found. > > > > / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / > R O B E R T B O U S Q U E T > Web Programming Consultant > Doheny Office of Technology Support > University of Southern California > bousquet-DG7SOAwx7rg@public.gmane.org > 213.740.9080 > _______________________________________________ > Typo-list mailing list > Typo-list-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org > http://rubyforge.org/mailman/listinfo/typo-list > > >
This looks like it is starting too many servers. What does your FcgiServerConfig (or so) directive look like? Also you need to set allow override all for /var/www/apps or any parent directory of your typo installation and you probably need to allow Symlinks from your www root ( Options +FollowSymLinks ) On 5/17/05, Justin Palmer <typo-ptJDu6eqGzp663UXrwX98uTW4wlIGRCZ@public.gmane.org> wrote:> Hi Robert, > I believe this is about the same as what i''ve got with the > exception you append /blog onto your dispatch and I''m using > Rewritebase. Although I tried that as well to eliminate any possible > solutions/problems. > I''ve been working on this for almost two days straight trying to > solve this problem, but I''m about at the end of my rope. I still > haven''t found the solution. > > I think I''m getting further, but I still receive the same error. > I know the alias is working because I can call the /blog/500.html > file directly and it works. > > Here is what I''m at now in terms of my apache error log: > > [Mon May 16 21:04:23 2005] [notice] Digest: generating secret for > digest authentication ... > [Mon May 16 21:04:23 2005] [notice] Digest: done > [Mon May 16 21:04:24 2005] [notice] mod_python: Creating 4 session > mutexes based on 150 max processes and 0 max threads. > [Mon May 16 21:04:24 2005] [notice] FastCGI: process manager > initialized (pid 8512) > [Mon May 16 21:04:26 2005] [notice] Apache/2.0.48 (Fedora) configured > -- resuming normal operations > [Mon May 16 21:04:27 2005] [error] [client 209.50.252.138] Directory > index forbidden by rule: /var/www/html/ > [Mon May 16 21:04:28 2005] [warn] FastCGI: (dynamic) server "/home/ > caged/apps/typo/public/dispatch.fcgi" started (pid 11553) > [Mon May 16 21:04:32 2005] [warn] FastCGI: (dynamic) server "/home/ > caged/apps/typo/public/dispatch.fcgi" started (pid 16193) > [Mon May 16 21:04:35 2005] [warn] FastCGI: (dynamic) server "/home/ > caged/apps/typo/public/dispatch.fcgi" started (pid 19528) > [Mon May 16 21:04:38 2005] [warn] FastCGI: (dynamic) server "/home/ > caged/apps/typo/public/dispatch.fcgi" started (pid 19542) > [Mon May 16 21:04:41 2005] [warn] FastCGI: (dynamic) server "/home/ > caged/apps/typo/public/dispatch.fcgi" started (pid 19551) > [Mon May 16 21:04:44 2005] [warn] FastCGI: (dynamic) server "/home/ > caged/apps/typo/public/dispatch.fcgi" started (pid 19872) > [Mon May 16 21:04:47 2005] [warn] FastCGI: (dynamic) server "/home/ > caged/apps/typo/public/dispatch.fcgi" started (pid 20288) > [Mon May 16 21:04:50 2005] [warn] FastCGI: (dynamic) server "/home/ > caged/apps/typo/public/dispatch.fcgi" started (pid 23040) > [Mon May 16 21:04:53 2005] [warn] FastCGI: (dynamic) server "/home/ > caged/apps/typo/public/dispatch.fcgi" started (pid 23586) > [Mon May 16 21:04:56 2005] [warn] FastCGI: scheduled the start of the > last (dynamic) server "/home/caged/apps/typo/public/dispatch.fcgi" > process: reached dynamicMaxClassProcs (10) > [Mon May 16 21:04:56 2005] [warn] FastCGI: (dynamic) server "/home/ > caged/apps/typo/public/dispatch.fcgi" started (pid 24096) > > I thought the directory index error might be due to the problem that > inside a rule <Directory "/var/www/html> I had: > AllowOverride None > > I changed this to AllowOverride All to no avail. > > I''ve tried everything I know to try, and I''m about ready to throw in > the towel unfortunately. I''m going to copy this to the Rails list as > well to see if > anyone there might have a solution. > > -Justin > > > On May 16, 2005, at 2:17 AM, Robert Bousquet wrote: > > >> Any idea on what could be the problem and how to go about fixing it? > >> > > > > Not really :) but I can tell you how I do it. I run my typo blog > > in a /blog subdirectory and here''s the steps I took: > > > > > > 1) I added this to httpd.conf: > > > > Alias /blog /path/to/typo/public > > <Directory /path/to/typo/public> > > Options ExecCGI FollowSymlinks > > AllowOverride All > > </Directory> > > > > > > 2) In .htaccess I changed this line: > > > > RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] > > > > to this: > > > > RewriteRule ^(.*)$ /blog/dispatch.fcgi [QSA,L] > > > > > > This worked for me so I can vouch for it. I''m not sure about the > > wiki suggestions you found. > > > > > > > > / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / > > R O B E R T B O U S Q U E T > > Web Programming Consultant > > Doheny Office of Technology Support > > University of Southern California > > bousquet-DG7SOAwx7rg@public.gmane.org > > 213.740.9080 > > _______________________________________________ > > Typo-list mailing list > > Typo-list-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org > > http://rubyforge.org/mailman/listinfo/typo-list > > > > > > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Tobi http://www.snowdevil.ca - Snowboards that don''t suck http://www.hieraki.org - Open source book authoring http://blog.leetsoft.com - Technical weblog
Thanks Tobi, I appreciate the tips. This helped me get it worked out FINALLY. It turned out that with the directives I had in place I wasn''t allowing Overrides on an /home/* directories. Once I fixed this, all is well now! I''m still running into a few weird issues though, sometimes only the partial article templates will render without the master layout... which is weird. -Justin On May 17, 2005, at 4:53 AM, Tobias Luetke wrote:> This looks like it is starting too many servers. What does your > FcgiServerConfig (or so) directive look like? > > Also you need to set allow override all for /var/www/apps or any > parent directory of your typo installation and you probably need to > allow Symlinks from your www root ( Options +FollowSymLinks ) > > On 5/17/05, Justin Palmer <typo-ptJDu6eqGzp663UXrwX98uTW4wlIGRCZ@public.gmane.org> wrote: > >> Hi Robert, >> I believe this is about the same as what i''ve got with the >> exception you append /blog onto your dispatch and I''m using >> Rewritebase. Although I tried that as well to eliminate any possible >> solutions/problems. >> I''ve been working on this for almost two days straight trying to >> solve this problem, but I''m about at the end of my rope. I still >> haven''t found the solution. >> >> I think I''m getting further, but I still receive the same error. >> I know the alias is working because I can call the /blog/500.html >> file directly and it works. >> >> Here is what I''m at now in terms of my apache error log: >> >> [Mon May 16 21:04:23 2005] [notice] Digest: generating secret for >> digest authentication ... >> [Mon May 16 21:04:23 2005] [notice] Digest: done >> [Mon May 16 21:04:24 2005] [notice] mod_python: Creating 4 session >> mutexes based on 150 max processes and 0 max threads. >> [Mon May 16 21:04:24 2005] [notice] FastCGI: process manager >> initialized (pid 8512) >> [Mon May 16 21:04:26 2005] [notice] Apache/2.0.48 (Fedora) configured >> -- resuming normal operations >> [Mon May 16 21:04:27 2005] [error] [client 209.50.252.138] Directory >> index forbidden by rule: /var/www/html/ >> [Mon May 16 21:04:28 2005] [warn] FastCGI: (dynamic) server "/home/ >> caged/apps/typo/public/dispatch.fcgi" started (pid 11553) >> [Mon May 16 21:04:32 2005] [warn] FastCGI: (dynamic) server "/home/ >> caged/apps/typo/public/dispatch.fcgi" started (pid 16193) >> [Mon May 16 21:04:35 2005] [warn] FastCGI: (dynamic) server "/home/ >> caged/apps/typo/public/dispatch.fcgi" started (pid 19528) >> [Mon May 16 21:04:38 2005] [warn] FastCGI: (dynamic) server "/home/ >> caged/apps/typo/public/dispatch.fcgi" started (pid 19542) >> [Mon May 16 21:04:41 2005] [warn] FastCGI: (dynamic) server "/home/ >> caged/apps/typo/public/dispatch.fcgi" started (pid 19551) >> [Mon May 16 21:04:44 2005] [warn] FastCGI: (dynamic) server "/home/ >> caged/apps/typo/public/dispatch.fcgi" started (pid 19872) >> [Mon May 16 21:04:47 2005] [warn] FastCGI: (dynamic) server "/home/ >> caged/apps/typo/public/dispatch.fcgi" started (pid 20288) >> [Mon May 16 21:04:50 2005] [warn] FastCGI: (dynamic) server "/home/ >> caged/apps/typo/public/dispatch.fcgi" started (pid 23040) >> [Mon May 16 21:04:53 2005] [warn] FastCGI: (dynamic) server "/home/ >> caged/apps/typo/public/dispatch.fcgi" started (pid 23586) >> [Mon May 16 21:04:56 2005] [warn] FastCGI: scheduled the start of the >> last (dynamic) server "/home/caged/apps/typo/public/dispatch.fcgi" >> process: reached dynamicMaxClassProcs (10) >> [Mon May 16 21:04:56 2005] [warn] FastCGI: (dynamic) server "/home/ >> caged/apps/typo/public/dispatch.fcgi" started (pid 24096) >> >> I thought the directory index error might be due to the problem that >> inside a rule <Directory "/var/www/html> I had: >> AllowOverride None >> >> I changed this to AllowOverride All to no avail. >> >> I''ve tried everything I know to try, and I''m about ready to throw in >> the towel unfortunately. I''m going to copy this to the Rails list as >> well to see if >> anyone there might have a solution. >> >> -Justin >> >> >> On May 16, 2005, at 2:17 AM, Robert Bousquet wrote: >> >> >>>> Any idea on what could be the problem and how to go about fixing >>>> it? >>>> >>>> >>> >>> Not really :) but I can tell you how I do it. I run my typo blog >>> in a /blog subdirectory and here''s the steps I took: >>> >>> >>> 1) I added this to httpd.conf: >>> >>> Alias /blog /path/to/typo/public >>> <Directory /path/to/typo/public> >>> Options ExecCGI FollowSymlinks >>> AllowOverride All >>> </Directory> >>> >>> >>> 2) In .htaccess I changed this line: >>> >>> RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] >>> >>> to this: >>> >>> RewriteRule ^(.*)$ /blog/dispatch.fcgi [QSA,L] >>> >>> >>> This worked for me so I can vouch for it. I''m not sure about the >>> wiki suggestions you found. >>> >>> >>> >>> / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / >>> R O B E R T B O U S Q U E T >>> Web Programming Consultant >>> Doheny Office of Technology Support >>> University of Southern California >>> bousquet-DG7SOAwx7rg@public.gmane.org >>> 213.740.9080 >>> _______________________________________________ >>> Typo-list mailing list >>> Typo-list-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org >>> http://rubyforge.org/mailman/listinfo/typo-list >>> >>> >>> >>> >> >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >> > > > -- > Tobi > http://www.snowdevil.ca - Snowboards that don''t suck > http://www.hieraki.org - Open source book authoring > http://blog.leetsoft.com - Technical weblog > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >