A very useful mod_rewrite cheat sheet.
Situation: I had setup a webserver at home. I used dyndns.org to
setup a dns resolution for my new server as it was on a dynamic IP. I
used their dns updater client to update my dynamic IP. I forwared port
80 on the router to the webserver.
symptom: Im trying to use an upload image module with drupal. when i
submit the form, I get a return from the server that says "the document
contains no data" or the site goes to a dead page.
solution: Apache is set to limit php pages to a maximum of 512 KB by
default. I increased the limit to 1 GB (the LimitRequestBody directive
in /etc/httpd/conf.d/php.conf).
There are also limits on file sizes in /etc/php.ini:
post_max_size = 8M
upload_max_filesize = 2M
Symptom: 'Internal Server Error' on new install of Drupal. Removing .htaccess file solves the problem.
The .htaccess file is the only thing in Drupal that can cause an
'Internal Server Error (500)'. This is most likely caused by a
misconfigured or restricted Apache configuration (Some hosts don't
allow PHP directives in .htaccess).
Solution: