Well, when I create drupal/joomla or mediawiki amazon ec2 image, i create them under /var/www/ and then drop an equivalent .conf file under /etc/apache2/2.2/conf.d directory with AllowOverride set appropriate to allow .htaccess
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