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 9143305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:59:21+00:00 2026-06-17T09:59:21+00:00

I am attempting to configure my amazon server with Apache Http to prompt the

  • 0

I am attempting to configure my amazon server with Apache Http to prompt the user for username/password upon hitting the domain via browser.

Here is a snippet from my app.conf file (included in the httpd.conf)

Alias / "/opt/bitnami/apache2/htdocs"

<Directory "/opt/bitnami/apache2/htdocs">
  AuthType Basic
  AuthName "No Trespassing"
  AuthUserFile "/opt/bitnami/apache2/users"
  Require valid-user

<IfVersion < 2.3 >
  Order allow,deny
  Allow from all
  Satisfy all
</IfVersion>
<IfVersion >= 2.3>
  Require all granted
</IfVersion>
  ErrorDocument 403 "Authentication error"
</Directory>

After logging in I am redirected to a 401 “Authorization error” page. Any reason here? I am thinking perhaps my other .conf file causes some conflict.

In httpd.conf I have the following:

WSGIScriptAlias / /opt/bitnami/apps/django/scripts/djangoApp.wsgi
<Directory '/opt/bitnami/apps/django/django_projects/djangoApp'>
  Order allow,deny
  Allow from all
  Satisfy all
</Directory>

Could the first line of each of those snippets be causing a conflict here, preventing me from logging in? I am not sure, but they both look to be creating a similar alias.

If there are any more details I should provide, please let me know.

Here is the error in the logs:

[Wed Jan 09 03:49:49 2013] [error] [client X.X.X.X] client denied by server configuration: /opt/bitnami/apache2/htdocsindex.html
[Wed Jan 09 03:49:49 2013] [error] [client X.X.X.X] client denied by server configuration: /opt/bitnami/apache2/htdocsfavicon.ico
[Wed Jan 09 03:50:28 2013] [error] [client X.X.X.X] client denied by server configuration: /opt/bitnami/apache2/htdocsindex.html
[Wed Jan 09 03:50:28 2013] [error] [client X.X.X.X] client denied by server configuration: /opt/bitnami/apache2/htdocsfavicon.ico
[Wed Jan 09 03:50:28 2013] [error] [client X.X.X.X] client denied by server configuration: /opt/bitnami/apache2/htdocsfavicon.ico
  • 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-17T09:59:23+00:00Added an answer on June 17, 2026 at 9:59 am

    I think your problem is one of 2 things:

    potential solution #1

    Simply that the user that Apache is running as doesn’t have access to the /opt/bitnami/apache2/htdocs directory.

    See this page for more details on dealing with the “client denied by server configuration errors”: http://wiki.apache.org/httpd/ClientDeniedByServerConfiguration

    Check to see what user/groups are set on the /opt/bitnami directory tree. Make sure that they’re friendly to the Apache user.

    potential solution #2

    Also if you look at your error messages the path is missing a ‘/’ after htdocs. See the paths:

    /opt/bitnami/apache2/htdocsindex.html
    /opt/bitnami/apache2/htdocsfavicon.ico
    

    I think you need to add a trailing slash, ‘/’, to your Alias line like so:

    Alias / "/opt/bitnami/apache2/htdocs/"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am attempting to connect to a local HTTPS server using the apache DefaultHttpClient
I'm attempting to install GCC 4.5.1 on my Apache server, but it says there
I am attempting to configure ELMAH to filter 404 errors and I am running
I am attempting to configure my NHibernate.Validator instance as described in this post Configuring
So I'm attempting to configure a WCF 4 REST app to utilize multiple standard
I am attempting to use a Microsoft.SqlServer.Management.Smo.Restore object to restore a SQL Server 2000
I am attempting to implement logging as described here http://www.vaannila.com/spring/spring-interceptor.html This is the handler
I'm attempting to install gnu make. I was able to run the ./configure script
I'm attempting to write a menu driven modular perl script that will capture user
I am attempting to create a new Database Project in VS2010 via the New

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.