• info:
    Ubuntu 16.04.1
    install LAMP with tasksel
    enable mod_rewrite
    install webmin
    create virtual host /var/www/html/proloco1
    install wordpress 4.7.2
    DocumentRoot "/var/www/html/proloco1"
    ServerName proloco1.shopthanks.com
    <Directory "/var/www/html/proloco1">
    Order allow,deny
    allow from all
    Options None
    Require all granted
    AllowOverride All
    </Directory>
    UseCanonicalName off

    if enable AllowOvverride All i have this error

    Forbidden
    
    You don't have permission to access / on this server.
    Apache/2.4.18 (Ubuntu) Server at proloco1.shopthanks.com Port 80

    .htaccess generate by wordpress
    root@web:/etc/apache2# cat /var/www/html/proloco1/.htaccess

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    can you help me? ??

    • This topic was modified 8 years, 1 month ago by BnBGallo.
Viewing 1 replies (of 1 total)
  • Try changing Options None to Options Indexes FollowSymLinks MultiViews then restart the server – service apache2 restart – and see if that gets rid of the 403 error.

Viewing 1 replies (of 1 total)
  • The topic ‘Ubuntu 16.04.1 Lamp with virtualhost: error permalink mod:rewrite’ is closed to new replies.