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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T20:31:14+00:00 2026-06-15T20:31:14+00:00

So I am trying to upload my files to a local apache on my

  • 0

So I am trying to upload my files to a local apache on my Ubuntu Server. I installed apache2 and I am now getting 403 forbidden all the time.

I have been searching and looking for some answers as to why on stackoverflow and elsewhere so far, it has yielded no results.

Files in /etc/apache2 is: apache2.conf (this is big), evvars, magic, ports.conf and httpd.conf (this one was empty, nothing inside it).

Also once I have fixed this, a bit off-topic, but can I change it so that instead of typing the local ip-address or localhost so that I could type something like mysite.local/index.php?

  • 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-15T20:31:15+00:00Added an answer on June 15, 2026 at 8:31 pm

    If I guess right than your directory you are trying to access are accessable from the web.

    You need a <Directory> directive which allows the apache to access that directory:

    <Directory /your/path>
      Order Deny,Allow
      Deny from All
    </Directory> 
    

    It is normal that the httpd.conf is empty. It is deprecated so you should not use it.

    If you use linux also check that the user of your apache can access that directory:
    The user is normally defined in the /etc/apache2/envvars file in a line like export APACHE_RUN_USER=www-data. So if the apache runs under the user www-data the directory should be accessable by the user www-data or maybe better directly own that directory/files.

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

Sidebar

Related Questions

I am using CakePHP 2.1 and trying to upload files into server. I can
I'm trying to upload pdf files in the server. And i;m using the following
I'm trying to upload files to server using Uploadify script and then show them
I am trying to upload remote files to my server. I can do this
I'm trying to upload a file via FTP from my local computer to an
I'm trying to test a rest api for upload a local file to a
I'm trying to upload files to the blobstore in my Google App without using
I'm trying to upload files within MVC. Most solution I saw on SO is
I am trying to upload files via FTP using the following script. The file
I am using railwayjs and I am trying to upload files. I am doing

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.