Welcome Guest, Not a member yet? Register   Sign In
Running on Apache... whoops
#3

(This post was last modified: 09-08-2019, 01:53 PM by dave friend.)

To be sure that the <Directory> directive is properly associated with the VHost put it inside the <VirtualHost> block, i.e.

Code:
<VirtualHost *:80>
        ServerName "local.ci4.com"
        DocumentRoot "/Users/karine/Dev/ci4/public"
        <Directory "/Users/karine/Dev/ci4/public/">
            Allow From All
            AllowOverride All
            Options +Indexes
            Require all granted
        </Directory>
</VirtualHost>

It can't hurt and will prevent "confusion" if there are any other <Directory> blocks in the server's config files.
Reply


Messages In This Thread
Running on Apache... whoops - by kcs - 09-08-2019, 09:41 AM
RE: Running on Apache... whoops - by donpwinston - 09-08-2019, 12:48 PM
RE: Running on Apache... whoops - by dave friend - 09-08-2019, 01:52 PM
RE: Running on Apache... whoops - by kcs - 09-08-2019, 11:10 PM
RE: Running on Apache... whoops - by dave friend - 09-09-2019, 06:43 AM
RE: Running on Apache... whoops - by kcs - 09-09-2019, 02:56 PM
RE: Running on Apache... whoops - by kcs - 09-09-2019, 03:15 PM



Theme © iAndrew 2016 - Forum software by © MyBB