Support » Fixing WordPress » secure setup problem

  • Hi,
    I just installed WP on LAMP, using :

    /var/www/index.php (WP index.php)
    /var/www/wordpress (all the WP files except index.php)

    After that I wanted to secure my setup defining my Apache virtual host this way :

    <VirtualHost *:80>
    DocumentRoot /var/www

    <Directory />
    Order deny,allow
    Deny for all
    DirectoryIndex index.php
    <Files index.php>
    allow from all

    <Directory /wordpress>
    Options FollowSymLinks
    Order allow,deny
    Allow from all

    But it doesn’t work :

    You don't have permission to access / on this server.

    If I replace index.php with any index.html, it does work….
    Any idea ?

  • The topic ‘secure setup problem’ is closed to new replies.