Scripts external to WordPress cause 404 errors

My money would be on the .htaccess of your root directory is trying to route the /docuwiki request through WordPress, which is why it is failing. Your .htaccess file should look something like this: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>

Getting WordPress to work inside a rails 3 application

I had a similar problem, but handled the VirtualHost configuration in a different way: Used an Apache mod_alias to redirect what for you is /home/blog/ to a path outside of /var/www/railsapp/public/ (e.g., /var/www/wordpress) Then, for that new hosted directory I had to declare PassengerEnabled off to avoid getting the standard rails error message. I’ve wrote … Read more

How to check for modified config files on a Debian system?

To find all Debian managed configuration files which have been changed from the default you can use a command like this. dpkg-query -W -f=”${Conffiles}\n” ‘*’ | awk ‘OFS=” “{print $2,$1}’ | md5sum -c 2>/dev/null | awk -F’: ‘ ‘$2 !~ /OK/{print $1}’ Edit (works with localized systems): dpkg-query -W -f=”${Conffiles}\n” ‘*’ | awk ‘OFS=” “{print … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)