I wanna run wordpress on OpenSuse in my local network.
My virtualhost:
<VirtualHost 192.168.0.2:99>
DocumentRoot /var/www/wordnews/
ServerName local.wordnews.pl
ErrorLog "/var/log/apache2.err"
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]
<Directory /var/www/wordnews>
Options +Indexes FollowSymLinks +ExecCGI
AllowOverride AuthConfig Indexes
Order allow,deny
Deny from all
</Directory>
</VirtualHost>
and add to /etc/hosts :
192.168.0.2 local.wordnews.pl
but when i try open this address on broweser, i see:
Error 403
and when i try local.wordnews.pl/wp-admin/install.php i see:
Error 404
I think in your
Directory
block, you want to make itAllow
instead ofDeny