Jump to content

PW not installing correctly - admin not found


Jamie Gordon
 Share

Recommended Posts

If anybody has just installed MAMP and is getting the problem whereby you can access the homepage of a fresh PW installation but no other page or the admin area, one solution that has worked for me:

OSX: Navigate to /Applications/MAMP/conf/apache and open the file called httpd.conf

or

Windoze: C:\MAMP\conf\apache

Find where it says:


    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride None

And change it to:


    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride All

Then restart your MAMP servers

Hope that helps

  • Like 2
Link to comment
Share on other sites

  • 8 months later...

Had the same problem, and it turned out to be a classic: On Ubuntu, the default Apache configuration has turned off the "AllowOverride" setting for /var/www, so I had to edit my /etc/apache2/sites-enabled/000-default file like this (the changed part in bold text):

From:

    <Directory /var/www/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None 
        Order allow,deny
        allow from all
    </Directory>
 
To:
 
    <Directory /var/www/>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All 
        Order allow,deny
        allow from all
    </Directory>

... and then restart apache with:

sudo service apache2 restart

(Didn't even need to change the RewriteBase setting in my .htaccess file, although I have a subfolder named "procwire")

Hope this helps!

Hi, ran in from a Google search and this solved my problem !

I had to setup a VPS on Digital Ocean because my shared host is... a shared host hehe.

Now it's running perfectly, thank you very much !

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...