Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8661269
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:27:24+00:00 2026-06-12T16:27:24+00:00

I have a location which simply for some reason isn’t triggering. I’ve tried the

  • 0

I have a location which simply for some reason isn’t triggering. I’ve tried the routes in all sorts of different orders, and still it doesn’t work. When a user comes along and requests /_hostmanager/ it should trigger, but instead it gets the index.php page from the route.

The server config file is:

server {
    index index.php index.html;
    root /var/www/html;
    server_name _;
    listen 80;

    # Logging
    error_log /var/log/httpd/elasticbeanstalk-error_log;

    # Route standard requests
    location / {
        try_files $uri $uri/ /index.php;
    }

    # Proxy Hostmanager
    location /_hostmanager/ {
        proxy_pass http://127.0.0.1:8999/;
    }

    # Include PHP
    location ~ \.php {

        # CGI Configuration
        fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include /etc/nginx/fastcgi_params;
        fastcgi_index index.php;

        # Zero-day exploit defense
        try_files $uri $uri/ /index.php =404;

        # Use socket for connection
        fastcgi_pass   unix:/tmp/php5-fpm.sock;
    }

    # Cache control
    location ~* \.(jpg|jpeg|gif|png|css|js|ico|xml)$ {
        log_not_found off;
        expires 360d;
    }

    # Disable hidden files
    location ~ /\. {
        deny all;
    }
}

Can anyone spot what my (probably stupid!) error is?

Thanks in advance! 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T16:27:26+00:00Added an answer on June 12, 2026 at 4:27 pm

    Nevermind, I worked it out! For some reason using the reload command on nginx wasn’t working. stopped and started and voila!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed a simple location aware iPhone application which is functionally working very
I have a Location class which represents a location somewhere in a stream. (The
Most web applications have a Location field, in which uses may enter a Location
I have a backup location, which uses hardlinks to store existing or changed files.
I have Person entity which has composition with Location Entity @ManyToOne(fetch = FetchType.EAGER, cascade
I have a report which is grouped by location and charge_type with detail information.
I have model with a location, which itself has a latitude and longitude. What
I have parse json file which contain more than hundred location name, there latitude
i have created an application which show data from user current location. I want
I have a database table which link locations together; a location can be in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.