Utvecklingsmiljö på jobbet
Hej,
Vi funderar på att uppgradera vår lokala utecklingsmiljö här på Kodamera. Vi har under ett antal år kört med en gemensam Server där varje utvecklare har haft sin egna mapp som hen klonar ut filer från git till. Mappen är sen åtkomlig via en apache vhost-regel så att det blir ungefär http://projekt.mappnamn.kodamera.dev/.
Vi har dock på senare tid börjat uppleva att det går väldigt långsamt och då framförallt för MySQL. Databasen ligger på samma server som apache och vi delar alla på samma databaser. Vilket har sina för-/nackdelar men det har oftast fungerat bra.
Tuning Worker MPM settings
I am thinking of configuring my Centos 6 server to use Worker MPM. I am pretty sure I know how to complete the install thanks to posts here in the group and elsewhere.
I have a Centos 6 LAMP server running multisite drupal. 2GB RAM. APC & memcached running, planning to install varnish, although most visitors are registered members.
My question is what should the settings look like in httpd.conf?
This is what I have at the moment. Will this even work as worker.c settings if I make the transition from prefork?
StartServers 3
MaxClients 50
Apache Solr på Svenska
Hej,
finns det någon som satt upp en Apache Solr på svenska förut?
I så fall, vad har du/ni för erfarenhet, vad bör man tänka på?
Några tips kanske?
// Tim
Read moreSetting Clean URL's with SSL (https) for the backend and http for the front end when Drupal is in a subdirectory/ subdomain?
After reading various documentation on the subject I figured out how to possibly do this. I started a write up in the documentation, and placed it under technical review. Are there people with knowledge on the subject who want to take a look at it? This to ensure that there are no mistakes.
The url is:
http://drupal.org/node/1804604
Apache Help with D6 vs. D7 Issue?
Glad to see a group exists for issues related to multisite. I love it, but it can be tricky at times. I posted my multisite question in another group before joining here. It concerns mixing Drupal 6 and 7 on the same server and controlling the default behavior of root domains which point there.
Please have a look at http://groups.drupal.org/node/240393 for the details.
Thanks.
Mark
Read moreReverse proxy best practices
We have a site that is being built that will be a site-wide cms for the University I work at. The way it will work is the following:
The existing setup is just Apache serving static pages. These will be migrated into a single Drupal instance and not individual Drupal multisites. So it is now universityurl.edu/chemistry that serves the static content. Ideally, the same site can be recreated at cms.universityurl.edu/chemistry in Drupal, and once the chemistry department is happy with the new version, I can flip a switch (.htaccess or apache change), and universityurl.edu/chemistry is now being reverse proxied to cms.universityurl.edu/chemistry.
Read moreDoes htaccess RewriteCond affect performance?
Hi, Performance issues aren't really my forte:
background info:
My test site is geared to anonymous only, and thus have Boost. Each node has a cck field so that users can type in a word eg. "DOG". I've hotlinked an image url to automatically include that cck word - eg. http://mysite/images/DOG.jpg. This allows me the choice to easily upload a picture or not. Obviously a 'broken image' icon appears if no pic is uploaded.
To resolve the 'broken link' ugliness I've come across something like:
RewriteCond %{REQUEST_FILENAME} !-f
Read more