Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't access page, 404 FORBIDDEN #253

Open
garrett85 opened this issue May 31, 2022 · 0 comments
Open

Can't access page, 404 FORBIDDEN #253

garrett85 opened this issue May 31, 2022 · 0 comments

Comments

@garrett85
Copy link

Linux Mint 20.1, Apache2, php 7.4.3, I don't know how to find my phalcon version but phalcon yielded Phalcon DevTools (4.1.2)

I'm following a Phalcon tutorial line by line and I've also read over the apache setup here -> (https://docs.phalcon.io/4.0/en/webserver-setup) but still when I try to visit localhost/tutorial I get 404 Forbidden "You don't have permission to access this resource" Note that you can replace "tutorial" with "phonebook".

Here's a look at my .htaccess files

/var/html/www/tutorial
#/phonebook/.htaccess

RewriteEngine on
RewriteRule ^$ public/ [L]
RewriteRule ((?s).*) public/$1 [L]

/var/html/tutorial/public
#/phonebook/public/.htaccess

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^((?s).*)$ index.php?_url=/$1 [QSA,L]

Any ideas? I really need to learn this system. Thanks.

@garrett85 garrett85 changed the title Can't access page Can't access page, 404 FORBIDDEN May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant