NathanFriend.co.uk

Developers notebook

Month: December 2011

Pacha podcast

Vist http://www.pacha.com/ for the Pacha podcast, perfect accompaniment to a Monday morning coding session!

mod_rewrite on SuSe

edit /etc/sysconfig/apache2

Add rewrite inside the speech marks for APACHE_MODULES=”rewrite, other modules…”

edit /etc/apache2/default-server.conf

Change AllowOverride None to AllowOverride All

apache2ctl restart

Source http://enarion.net/web/htaccess/mod_rewrite-on-suse/

Create a new MySQL user

CREATE USER ‘user1’@’localhost’ IDENTIFIED BY ‘pass1’;

GRANT SELECT,INSERT,UPDATE,DELETE ON *.* TO ‘user1’@’localhost’;

Source http://www.databasef1.com/tutorial/mysql-create-user.html

© 2017 NathanFriend.co.uk

Theme by Anders NorenUp ↑