New answers tagged http-status-code-404
0
votes
Codeigniter in subdirectory on Nginx 404
This has worked for me (nginx 1.18)
location ^~ /api {
root /var/www/api;
index index.php;
try_files $uri $uri/ /api/index.php;
location ~ \.php$ {
try_files $uri /index.php =...
Top 50 recent answers are included
Related Tags
http-status-code-404 × 383nginx × 127
apache-2.2 × 74
iis × 36
.htaccess × 30
php × 28
wordpress × 21
mod-rewrite × 19
php-fpm × 17
redirect × 16
iis-6 × 16
iis-7 × 15
rewrite × 15
apache-2.4 × 14
asp.net × 14
linux × 13
http × 13
http-status-code-403 × 13
ubuntu × 12
configuration × 12
web-server × 11
proxy × 10
tomcat × 10
cache × 10
subdomain × 10