WordPress install
My WordPress setup was installed on Debian 5.0 by following the instruction at Kerry D. Wong site. Although Kerry instruction illustrated how to install WordPress on Ubuntu, I had no issue using the same steps on Debian. Once I had WordPress installed, I wanted to have WordPress accessible from my web root directory. I moved the index.php to my web root directory and pointed my browser to it. That’s when an issue came to light. When I tried to access index.php it directed me back to the default Apache webpage.
After searching the web for clues I was able to determine that my dir.conf file needed adjusting.
cd /etc/apache2/mods-available
vi dir.conf
Move index.php to the front of the line.
<IfModule mod_dir.c>
DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm
</IfModule>
Restart apache: /etc/init.d/apache restart
Once completed, index.php is accessible and executed.
Kurt