WordPress 4.1.1 installation on Ubuntu 14.04: Difference between revisions

Jump to navigation Jump to search
add apache config
add update the wp-config file section
add apache config
Line 105: Line 105:
---
---
> $table_prefix  = '';
> $table_prefix  = '';
</source>
== Set up the web services ==
I'm using Apache here, and this is how my config file looks like.
<source lang="apache">
<VirtualHost *:80>
        ServerName michael.blog.com
        ServerAdmin webmaster@server.com
        ServerSignature off
        DocumentRoot /srv/www/blog
        <Directory /srv/www/blog>
                Options -Indexes +FollowSymLinks -MultiViews
                AllowOverride All
                Require all granted
                <IfModule mod_rewrite.c>
                        RewriteEngine On
                        RewriteBase /
                        RewriteRule ^index\.php$ - [L]
                        RewriteCond %{REQUEST_FILENAME} !-f
                        RewriteCond %{REQUEST_FILENAME} !-d
                        RewriteRule . /index.php [L]
                </IfModule>
        </Directory>
        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>d
</source>
</source>

Navigation menu