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

  • Home
  • SEARCH
  • 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 7494411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T17:32:05+00:00 2026-05-29T17:32:05+00:00

I just set up Nginx for the first time, having liked what I read

  • 0

I just set up Nginx for the first time, having liked what I read about its advantages over Apache.

My problem is this: I start up Nginx on my Linux Mint (12, 32-bit) box. index.html is located at

/usr/share/nginx/www

I also have a folder located at

/usr/share/nginx/www/store

which contains some ISO files, but no html files (so there is not even an index.html). In Apache, this would result in a folder directory, and I’m hoping to get something similar from Nginx — I thought that was a basic functionality feature.

It is worth noting that

/usr/share/nginx/www/store

is a mounting point that I use for a Samba share.

Here’s the problem:

I go to access my Linux box from my other machine. By going to www.example.com, I am greeted with the standard “Welcome to nginx” message. When I go to www.example.com/store, I get a “403 Forbidden” error instead of a directory listing of the files in /store.

I’ve read lots about permissions being the cause of 403 errors, but I don’t see how I could’ve missed anything. In mild desperation, I edited nginx.conf to say

user root;

so nginx is running as root, even though I know that’s not the best idea (I just wanted to see if it was a permissions issue). Both usr/share/nginx/www and usr/share/nginx/www/store (as well as the ISO files contained therein) have permissions drwxr-xr-x and are owned by root root. The Samba server works just fine, and I have full access to /store from my other computer, but I can’t get at it from a browser.

Any ideas?

  • 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-05-29T17:32:06+00:00Added an answer on May 29, 2026 at 5:32 pm

    You need to set the autoindex configuration to ‘on’ in the nginx server configuration. Ex:

    location  /  {
      autoindex  on;
    }
    

    By default the value is OFF

    Ref: http://wiki.nginx.org/HttpAutoindexModule

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

Sidebar

Related Questions

I've just set up mod python with apache and I'm trying to get a
I just started playing around with Unicorn and NGINX set up (any full-blown reference
I just set up the Devise auth library and I am confused about how
I just set up eclipse to start android development according to this http://developer.android.com/sdk/installing.html .
I just set up phpMyAdmin3 with Nginx, and php-fcgi on PHP 5.3.8. Everything works
I just set up this gem and pushed to heroku ok. However, I found
I just set up a quick example of a issue I am having trouble
I've just set up nginx to serve static request on one site, but I
just set up a simple project to test the functionality of the maven exec
I just set up my new homepage at http://ritter.vg . I'm using jQuery, but

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.