[mod_python] fedora vs ubuntu

Eric Brunson brunson at brunson.com
Tue Oct 3 14:51:54 EDT 2006


Colin Bean wrote:
> Hi Marinus,
>
> You're talking about /etc/httpd/conf.d, correct?
> As far as I know you can't put the vhost and directory stuff into the
> conf.d directory (it's only for module configuration).  

I don't believe that's correct.  I have all my virtual host 
configurations in a directory, one for each customer.  There's nothing 
special about a file in conf.d, it simply gets included via an Include 
directive.

> I'd factor out
> the module load stuff and put that in a file called python.conf in the
> conf.d directory (if there's nothing for mod_python there already).
> As for the rest of it, either paste it into /etc/httpd/conf/httpd.conf
> (sounds like you might need to with vhosts?) or use a .htaccess file.
>
> -Colin
>
> On 10/3/06, marinus van aswegen <mvanaswegen at gmail.com> wrote:
>> Hi Guys
>>
>> I'm trying to reduce the my whole mod_python config (module load, vhost,
>> directory) to to a file I can drop in the feroda conf.d directory. 
>> I've had
>> limited success thus far, has anyone tried this?
>>
>> Marinus



More information about the Mod_python mailing list