Avatar

BaalInvoker

BaalInvoker@lemmy.eco.br
Joined
2 posts • 89 comments
Direct message

Why are you using that?

    location ~ /\.ht {
        deny all;
    }

You’re denying the access to your root, which is the public/ folder and has the file .htaccess that has

<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews -Indexes
    </IfModule>

    RewriteEngine On

    # Handle Authorization Header
    RewriteCond %{HTTP:Authorization} .
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    # Redirect Trailing Slashes If Not A Folder...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} (.+)/$
    RewriteRule ^ %1 [L,R=301]

    # Send Requests To Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]
</IfModule>

This file handles the income requests and send to the front controller.

permalink
report
parent
reply

I’m not sure, but looks like you’re denying all .htaccess files. Laravel depends on .htaccess to make things work properly

Take a look on Laravel docs - Deployment to make sure your configs are right

permalink
report
reply

We’re approaching a new pandemic… Are we prepared?

permalink
report
reply

And it’s not. SELinux is much more secure, however much more complex. Although AppArmor also do the job, despite being easier to workaround it. But I don’t think this is a good argument against Debian.

permalink
report
reply

I like Tesseract the most! It’s exactly a balance between Alexandrite and Photon

permalink
report
parent
reply

Because I don’t even knew that this kind of tool exists. And it was precise AF. I just got surprised/scared haha

About systemd-homed, I guess that liveusb will not work… I suggest you to try in a VM and everything going ok, you may try on another user on your pc

permalink
report
parent
reply

Are the detectors part for real or were you just kidding? 😲

You were probably trying to format it nice, but I’ve only read this phrasing from AI.

Yes, I was, because I like to put my text well formated… I feel pain when I have to read bad formated texts, so I try to be as clean as possible

But thanks for the answer, the home folder would probably be best. I don’t want to think about it after setting it up. All my downloads and docs are there. I also feel like the whole filesystem would take forever for me to unlock/boot.

For home folder I think there is a better alternative, like systemd-homed or something like that

permalink
report
parent
reply