This blog is NOFOLLOW Free!

The magic space of the IT find what you seek or get lost


syscp with libnss-mysql

After installing a new rootserver with syscp, I decided to also install libnss-mysql support on the system. The advantage is, that it is easy to see which file belongs to which user. I hate to only see the uids and gids 😉

Because I use gentoo on the server, I emerged libnss-mysql. If you use an other distribution, you have to install it with your package mananger if it is avaiable. I used version 1.5 of it.

Now it was a bit tricky to find the right config for syscp for it. After a long search and many tries now it works good. Here are my configs:


WordPress 2.3 no working mod_rewrite

I wanted just set up my new blog and use a permalink structure like this:


The strange thing was that it want work. mod_rewrite is enabled from my hoster, other sites work with it without any problems. If I used a structure with the "index.php" in it, it worked without any problem. I googled a lot and read very much of the docu. Most of them only say, that the mod_rewrite, followsymlinks, and such things have to be enabled. But this is all how it should be! So where is the problem?

I don't really know it. All the docs says, that the new wordpress does not need an special .htaccess file for this kind of stuff. Or perhaps I always have over read it? I don't know. After a while I decided to put on a .htaccess which looks like this:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

After I did it, it WORKED. I hope I will not get any other problems with this little code, but till know I am happy with it. It simply works 😉