Deleting Mail from Postfix’s mailq
Use the command:
postsuper -d ALL to remove all mail
postsuper -d #MAIL ID# to remove a single peice of mail from the mailq
IE Caching w/ CakePHP and jqModal
Because IE caches GET requests, I found that jqModal dialogs cache unless the following header info is added:
header( “Last-Modified: ” . gmdate(”D, d M Y H:i:s”) . ” GMT” );
header( “Cache-Control: no-cache, must-revalidate” );
header( “Pragma: no-cache” );
Note: Using CakePHP 1.1, I wanted to add this to a special “dialog layout”. For some reason it the caching continued unless I added it to the controller or view.
Moving a SVN (subversion) Repository
On your old server, create a dump file using the following command:
svnadmin dump /path/to/repository > reponame.dmp
On your new SVN Server create a new repository:
svnadmin create MyProjects
Copy the dump file onto the new server and run the following command
svnadmin load MyProjects< reponame.dmp
Subversion (SVN) Unable to Commit
After creating a new SVN repository I was unable to commit or create folders. I received the following error message: “Can’t created directory” … “permission denied”
The problem was the svn folder did not have write access for the group. This was solved by applying the write permission for the group.
Subversion (SVN) Unable to Commit
After creating a new SVN repository I was unable to commit or create folders. I received the following error message: “Can’t created directory” … “permission denied”
The problem was the svn folder did not have write access for the group. This was solved by applying the write permission for the group.