The quest for a standard around these 'drop into $HTDOCS' products 
(drupal, joomla, etc.) has persisted for over a year now... everyone has 
a different take on it, but it essentially boils down to:

  1) Place the stuff in /usr/silverstripe, point an httpd.conf file at 
it there
       - Apache still has to be restarted with this config file
      + No existing files are clobbered

  2) Assume Apache and place everything directly into 
/var/apache2/2.2/htdocs
      - Assumes Apache
      - Assumes location of Apache htdocs lives
      - Blows away whatever was in htdocs

  2a) Variant: place everything into /var/apache/2.2/htdocs/silverstripe
      + No clobbering

There's really a whole class of software packages of this ilk -- perhaps 
it's not too late to press for a defacto standard in OSOL. Or maybe it is.

$0.02/ERR


Everyone tends to do it differently
 
 Amanda waite wrote:
> Jyri Virkki wrote:
>> Amanda Waite wrote:
>>  
>>> To httpd.conf (which we are doing directly at the moment) where     
>>
>> Not sure how you're doing that from the IPS package (w/o 
>> postinstall)? But anyway, don't modify httpd.conf, instead have the 
>> package drop a file
>> in conf.d (which will appropriately go away when you pkg uninstall 
>> your pkg).
>>
>>
>>   
> Well yeah, that's what we are doing, but I didn't want to complicate 
> matters by talking about separate config files. The postinstall is 
> done on first connect to the web context root, it displays s php page 
> called install.php which generates the .htaccess and _config.php file. 
> Wordpress does something similar.
>
> I have a question for you, where would you install the SilverStripe 
> files to? It's whole directory structure is a PHP web app and I'd 
> prefer not to install it to /var/apache2/2.2/htdocs. It's not suitable 
> for anywhere in /usr so that leaves a top level directory in /var. 
> Where would you put it?
>
> Thanks
>
> Amanda
> _______________________________________________
>
>
> webstack-discuss mailing list
> webstack-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/webstack-discuss


-- 


        

   Eric Reid

   Staff Engineer, Software
   Sun Microsystems, Inc.

         
 

  Phone: +1 269.629.7238
  Cell:     +1 269.569.1042
  Fax:     +1 650.352.4428
  Blog:    http://blogs.sun.com/err
  AIM:     ereidsan
  Skype:    erreid
        


Reply via email to