Re: wordpress/apache
Glenn English <ghe@slsware.com> wrote:
> I've installed the squeeze Apache, PHP, MySQL, and Wordpress
> packages and there's nothing there when I point a browser at it.
> I see the PHP info. I think I need something to get Apache to run
> the index.php (and its friends) file in /usr/share/wordpress. How do
> I do this?
I think what I did when trying this out the other day was this:
cd /var/www && sudo ln -s /usr/share/wordpress
Then reference the Wordpress stuff via http://localhost/wordpress/
I remember scratching my head of this and then shrugging my shoulders,
as usually Debian packages "just work" (or nearly so). There is an
/etc/wordpress/htaccess file that looks like it is supposed to end up
being modified as /var/www/.htaccess, but I couldn't see how that would
work with Wordpress as a subdirectory. If you want http://localhost/
to be your Wordpress system then I'd look at changing the definitions
related to the Document Root in /etc/apache2/sites-enabled/000-default
Chris
Reply to: