After installing craft on apache server, when I try to access control panel using web/admin
, serwer throws 404 error.
I didnt changed cpTrigger
setting. Default craft template that displays after installation is displayed correctly.
.htaccess
file in web
directory was not modified in any way, its contents are default:
<IfModule mod_rewrite.c>
RewriteEngine On
# Send would-be 404 requests to Craft
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/(favicon\.ico|apple-touch-icon.*\.png)$ [NC]
RewriteRule (.+) index.php?p=$1 [QSA,L]
</IfModule>
web/.htaccess
exist on the server? – Jørgen Dec 21 '18 at 10:38yoururl.com/index.php?p=admin
? – Jørgen Dec 21 '18 at 10:46