[typo] Apache Config

Robert Bousquet bousquet at usc.edu
Tue May 17 04:59:34 EDT 2005


Does it work if you use dispatch.cgi rather than FCGI?  If it does,  
then you have an FCGI config problem most likely.

Robert


On May 16, 2005, at 6:16 PM, Justin Palmer 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 at usc.edu
>> 213.740.9080
>> _______________________________________________
>> Typo-list mailing list
>> Typo-list at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/typo-list
>>
>>
>>
>>
>
> _______________________________________________
> Typo-list mailing list
> Typo-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list
>



More information about the Typo-list mailing list