[nycphp-talk] Deploying PHP Applications
Anthony Wlodarski
oneofthosed3afmutes at yahoo.com
Thu Apr 29 15:51:19 EDT 2010
I additionally preferred the SVN checkout procedure to make the production environment a local working copy that could be used with "svn up". One thing I had to do was make sure that none of the SVN files were accessible via the web. You can throw the following code into a .htaccess file if you don't have access to the .conf files.
<IfModule mod_rewrite.c>
RewriteRule ^(.*/)?\.svn/ - [F,L]
ErrorDocument 403 "Access Forbidden"
</IfModule>
You just never know what someone could do with access to those .svn directories.
Anthony W.
oneofthosed3afmutes at yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20100429/a0af0797/attachment.html>
More information about the talk
mailing list