Hi everybody!
I'm here to get some suggestions
I've created a local webserver from an old p4 1.7 Ghz/1Gb ram for websites developpements.
I've installed CentOS 5 and setup Apache2/PHP5.2.10/Mysql5
and settup apache with virtual name host :
NameVirtualHost *:80
NameVirtualHost *:443
VirtualDocumentRoot /var/www/html/%0
VirtualScriptAlias /var/www/html/%0/cgi-bin/
so that I can point whatever.devdomain.com to my local server and it works by creating a folder /var/www/html/whatever.devdomain.com
installed with umask and webadmin SSH user (no ftp!)
i've rigged my devdomain.com with a wildcard subdomains *.devdomain.com pointing to our static IP.
even if protected to the teeth, i've told search engine to go see elsewhere:
RewriteCond %{HTTP_USER_AGENT} google|bing|slurp [NC]
RewriteRule .? - [G]
and i've settuped a local dns server to say that *.devdomain.com is a local IP (so that from inside it works as well as from outside to show our clients)
and lastly, simple backup cron job with dayly and weekly backups (tar.bz2)
right now it works great and simple for me and my coworkers.... but!
could it be a good idea to put SVN into the mix?
I love SVN, some of my clients websites (yes... websites!) in PHP have SVN installed so we can change it, test it on dev.clientdomain.com then checkout live. only mysql is not so great with it...
i've never... ever... been able to make "auto checkout on commit" works... on any sites... and I don't know why (seams like permissions problems, but no logs to confirm)
IF I DO install SVN on my dev server... witch is best
- 1 project/1 website (need to create a project per new site)
- 1 project - all websites (with folders like i did up to now)
?
or do you think I should not try to mess with a working dev server?