I made a new theme which you can see here. The theme is going to change in the future, but this is the basic structure of it. It is using html5, css3 and no images.
Install WordPress on Fedora 16
Here are the steps to install wordpress with a fresh Fedora 16:
Get super user rights:
su -
Install mysql-server:
yum -y install mysql-server
start your mysql database:
service mysqld start
connect your mysql client with your mysql server:
mysql -u root
Configure your wordpress mysql database (use your own username and password):
mysql> create database wordpress;
Query OK, 1 row affected (0.00 sec)
mysql> grant all privileges on wordpress.* to wordpress@localhost identified by 'wordpress';
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql> exit
Install WordPress:
yum -y install wordpress
Edit /etc/wordpress/wp-config.php and change database_name_here, username_here and password_here to the values you provided in the grant sql statement above. Here it would be ‘wordpress’ all three times. The beginning of the config file looks like this:
define('DB_NAME', 'wordpress');
/** MySQL database username */
define('DB_USER', 'wordpress');
/** MySQL database password */
define('DB_PASSWORD', 'wordpress');
/** MySQL hostname */
define('DB_HOST', 'localhost');
The wordpress package installed a httpd config file at /etc/httpd/conf.d/wordpress.conf the following:
Alias /wordpress /usr/share/wordpress
Start your Apache:
service httpd start
Access wordpress at http://localhost/wordpress in your browser. Follow the installation instructions.
Login -> voila
WordPress Plugin
I wrote my very first plugin for WordPress.
The only thing it does is to append a string to the name of the author of a comment if the email address of the author contains a certain string. I was using the get_comment_author filter hook of WP. It is activated whenever the author of the commentator gets out of the database.
More information about plugins and hooks in wordpress: http://codex.wordpress.org/Plugin_API
A list of the hooks in wordpress with displayed source code of the usage: http://adambrown.info/p/wp_hooks/hook
Enforce https
If you want to enforce the users of your Apache server to use https instead of http, you can write a Rewrite which works without the mod_ssl module.
The Rewrite is stored either in your httpd configuration or in a .htaccess file.
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301]
Sometimes you run into problems with authentication systems which are configured in a .htaccess file too. This leads to double authentications which you want to avoid because the first authentication works through http (which is bad enough), then the rewrite is putting you to https and you have to authenticate again.
To avoid this, you can store the configuration of the authentication system into your ssl httpd configuration in a directory tag. This ensures that the user of your web-server when landing on http does not have to authenticate but will be placed to https and have to authenticate there.
If you do not have access to the ssl configuration you might want to test out
SSLOptions +StrictRequire
SSLRequireSSL
SSLRequire %{HTTP_HOST} eq "http://yourservername"
ErrorDocument 403 https://yourservername
in your .htaccess file. I have to admit i didn’t test the SSLRequireSSL option by myself, but it worked for some people.
For more information about Rewrites, .htaccess files and ssl support, have a look at the Apache httpd documentation
Commuting
Move
Ursprünglich hochgeladen von photon ?
Played around with Gimp using this howto:
http://www.photoshopsupport.com/tutorials/or/cross-processing.html
Emerald
Glowing-Time

Glowing-Time
Ursprünglich hochgeladen von photon ?
Found this one on a small green place right beside a parking-lot.
It seems to be a Malope trifida.
No pp aside from cropping and tagging.
Rush Hour
Icecream Flower

Icecream Flower
Ursprünglich hochgeladen von photon ?
This flower reminds me of icecream



