.htaccess / Wordpress Permalinks (url rewriting)
I believe I have my virtual hosts file set up properly, but what am I missing?
ServerName mhb.501clients3.com
ServerAlias
ServerAlias mhb.501clients3.com
DocumentRoot /srv/www/501clients3.com/clients3_new/mhb
ErrorLog /srv/www/501clients3.com/logs/error.log
CustomLog /srv/www/501clients3.com/logs/access.log combined
AllowOverride all
Options FollowSymLinks
MultiViews must be turned off.
Options -MultiViews
2 Replies
<virtualhost *:80="">ServerAdmin webmaster@example.com ???
ServerName mhb.501clients3.com
ServerAlias www.mhb.501clients3.com
DocumentRoot /srv/www/501clients3.com/clients3_new/mhb
ErrorLog /srv/www/501clients3.com/logs/error.log
CustomLog /srv/www/501clients3.com/logs/access.log combined
<directory srv="" www="" 501clients3.com="" clients3_new="" mhb=""># This relaxes Apache security settings.
AllowOverride all
Options FollowSymLinks -MultiViews</directory></virtualhost>
Not seeing your .htaccess it is hard to tell if you are turning on the rewrite engine etc…
This is the htaccess file:
BEGIN WordPress
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
END WordPress
I've got the correct owner and permissions set on the htaccess file too.