Answers.Body: <p>Web is the public web folder if you followed the recommended install location, so the link to login is just /admin, i.e.</p>
  
  <p><a href="http://your-domain/admin" rel="nofollow noreferrer">http://your-domain/admin</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-21T16:23:51.457Z
Answers.Text: Sorry, i didnt included all info in my post - default craft template that displays after installation is displayed correctly, so url is correct.
Answers.UserDisplayName: Ded Nolyxeux
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-09T05:45:34.683Z
Answers.Text: Thanks this worked for me, first time install. Looks pretty neat!
Answers.UserDisplayName: Nathaniel Flick
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-12-21T15:24:25.473Z
Answers.LastActivityDate: 2018-12-21T15:24:25.473Z
Answers.UserDisplayName: Seth Warburton
Body: <p>After installing craft on apache server, when I try to access control panel using <code>web/admin</code>, serwer throws 404 error.
  I didnt changed <code>cpTrigger</code> setting. Default craft template that displays after installation is displayed correctly.</p>
  
  <p><code>.htaccess</code> file in <code>web</code> directory was not modified in any way, its contents are default:</p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      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]
  &lt;/IfModule&gt;
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-12-21T10:33:55.170Z
Comments.Text: Are you running nginx? What is your nginx config?
Comments.UserDisplayName: Jørgen
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-12-21T10:35:52.373Z
Comments.Text: Apache, just updated my post.
Comments.UserDisplayName: Ded Nolyxeux
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-12-21T10:38:59.943Z
Comments.Text: Does `web/.htaccess` exist on the server?
Comments.UserDisplayName: Jørgen
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-12-21T10:45:31.973Z
Comments.Text: Yes, it does, it was not modified in any way. Updated my post.
Comments.UserDisplayName: Ded Nolyxeux
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-12-21T10:46:56.750Z
Comments.Text: What happens if you navigate to `yoururl.com/index.php?p=admin`?
Comments.UserDisplayName: Jørgen
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-12-21T10:52:11.090Z
Comments.Text: It redirects to web/admin/login, but error 404 still appears - The requested URL /web/admin/login was not found on this server.
Comments.UserDisplayName: Ded Nolyxeux
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-12-21T10:55:37.373Z
Comments.Text: Ok, then I'm out of ideas regarding /admin. But you have to config your server sir, the amount of information available now is staggering. I can see your licence file, configs, composer.lock files +++. Have the document root set to /web
Comments.UserDisplayName: Jørgen
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-12-22T00:17:20.120Z
Comments.Text: Is your Apache config set to AllowOverride for your site?  If not, it won't bother parsing any htaccess files it finds. https://httpd.apache.org/docs/2.4/mod/core.html#allowoverride
Comments.UserDisplayName: Brad Bell
Tags: <control-panel>
Title: Cannot find control panel after installation
ThreadText: # Cannot find control panel after installation
  
  (Asked by: username_0 on 2018-12-21)
  
  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>
  
  ```
  
  **Tags:** control-panel
  
  > **Comments:**
  > **username_1**: Are you running nginx? What is your nginx config?  
  > **username_0**: Apache, just updated my post.  
  > **username_1**: Does `web/.htaccess` exist on the server?  
  > **username_0**: Yes, it does, it was not modified in any way. Updated my post.  
  > **username_1**: What happens if you navigate to `yoururl.com/index.php?p=admin`?  
  > **username_0**: It redirects to web/admin/login, but error 404 still appears - The requested URL /web/admin/login was not found on this server.  
  > **username_1**: Ok, then I'm out of ideas regarding /admin. But you have to config your server sir, the amount of information available now is staggering. I can see your licence file, configs, composer.lock files +++. Have the document root set to /web  
  > **username_2**: Is your Apache config set to AllowOverride for your site?  If not, it won't bother parsing any htaccess files it finds. https://httpd.apache.org/docs/2.4/mod/core.html#allowoverride  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2018-12-21. Score: 1
  
  Web is the public web folder if you followed the recommended install location, so the link to login is just /admin, i.e.
  
  <http://your-domain/admin>
  
  > **Comments:**
  > **username_0**: Sorry, i didnt included all info in my post - default craft template that displays after installation is displayed correctly, so url is correct.  
  > **username_4**: Thanks this worked for me, first time install. Looks pretty neat!  
  
  ---
  
  