Seema
 Why can't we do some thing like this within our  httpd.conf file

<Ifdefine HAVE_64BITRUNTIME>
 # include 64-bit specific definitions here

and then start the 64-bit server by doing something like 
apache2/bin/64/httpd -D HAVE_64BITRUNTIME

thanks
sriram

Sriram Natarajan wrote:
> Seema Alevoor wrote:
>   
>>> What about httpd.conf file ? Are we going to have bitness aware
>>> httpd.conf files ?
>>>
>>>
>>>     
>>>       
>> Because of the path differences between 32 and 64 bit installations,
>> we need to have 2 default .conf files.
>>
>> I suggest the following names.
>>      httpd.conf      -->     32 bit
>>      httpd.64.conf   -->     64 bit
>>
>> To support out-of-the box 64-bit server startup, we should
>> make sure that the server loads the 64 bit specific config file.
>> Below, I have listed the ways (in the order of preference) in which we can 
>> handle this.
>>
>>   
>>     
> IMO, having 2 versions of httpd.conf  is not very user friendly. We 
> should very much try to avoid having a 32/64-bit specific httpd.conf .
> User should simply have to do
> svccfg setprop (set a 64-bit property)
> svcadm enable  (enable http / apache server)
>
> and apache should read the same httpd.conf . If very much needed, 
> 'httpd.conf' can include 32 / and 64-bit specific information internally.
>
>
> _______________________________________________
> webstack-discuss mailing list
> webstack-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/webstack-discuss
>   

Reply via email to