• limekiller

    (@limekiller)


    My blog’s running perfectly with permalinks and a structure of “www.domain.com/wordpress/yyyy/mm/posttitle.html”. WordPress address and Blog address are both specified as “www.domain.com/wordpress”

    Without moving wordpress into the root folder, I’d like to get rid of the “/wordpress” part and thought I could do it with:

    <VirtualHost *:80>
        DocumentRoot /var/www/wordpress
        ServerName www.domain.com
    </VirtualHost>

    However, I keep getting internal server errors that debug shows to be a recursion error with /wordpress/index.php.

    I’ve done some trial and error changes, but haven’t come across the right thing yet. Between making changes to WordPress address, Blog address, .htaccess, and virtualhost statements, I’m getting confused as to how to accomplish this. I DON’T want to move the wordpress files into /var/www because I have a separate domain operating from there. Help?

The topic ‘RewriteRule with a virtualhost?’ is closed to new replies.