d-h-n.de
Blog about Oracle, Linux..

Setup Permalink in WordPress

November 16th, 2011 . by admin

1. Change Setting in WordPress

- Goto Permalink Settings Page: Settings->PermaLinks.

- Input in Field Custom Structur: /%postname%

This make the link of the articles like this, exm:

http://localhost/wordpress/create-database-per-response-file-with-dba

2. Load Apache rewrite_module

Open file httpd.conf looking for:

#LoadModule rewrite_module modules/mod_rewrite.so

change to:

LoadModule rewrite_module modules/mod_rewrite.so

next search this:

    ..
    AllowOverride None
    ...

change to:

    ..
    AllowOverride All
    ...

Stop and Start Apache again!

(Optional you can check per <?php phpinfo(); ?> if the module loaded)

 

3. .htaccess

root directory of wordpress must have a file .htaccess like this:

# BEGIN WordPress

RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]
# END WordPress

Default this file is generated by WordPress.


Change default CMD Prompt

April 28th, 2009 . by admin

When you open a CMD in Windows (also Start->Run..CMD) Default prompt path of CMD is:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\username>

Howto change this to:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>

TODO:
-Run regedit
-Locate to HKEY_CURRENT_USER\Software\Microsoft\Command Processor
-Looking for ‘Autorun‘ on the right. If it’s not existing, define a new Key:

 Autorun=CD /d c:\

(right click -> Context Menu New -> String Value)

Test!


ClustrMaps

March 11th, 2009 . by admin

Today add ClustrMaps!


Neue WordPress, FCKEditor

December 31st, 2008 . by admin

Heute, der letzte Tag des Jahres, upgrade den FCKEDitor und neue WordPress Version

WordPress 2.7 DE-Edition

FCKEditor for WordPress 


Backing Up and Restoring a MySQL Database

October 20th, 2008 . by admin

 Dump schema and data:

D:\..\MySQL\bin>mysqldump --user root --password=your_password your_database_name > test.dump

 Dump only schema:

D:\..\MySQL\bin>mysqldump -u root -ppassword --no-data databasename > create.sql

 Restore:

mysql>mysql -u username -p --database=dbname < dump.sql


10g OCP

July 4th, 2008 . by admin

Today: Oracle Database 10g: New Features for Administrators
13h30 – the campus – Eschborn – 134EUR – zu teuer!
nur viel Lärm um nichts!


Play *CUE, *.BIN files

May 4th, 2008 . by admin

To play *CUE, *BIN without NERO!

See http://en.wikipedia.org/wiki/IsoBuster
Download Daemons Tools: http://www.daemon-tools.cc/dtcc/download.php