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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T12:01:50+00:00 2026-06-07T12:01:50+00:00

Following problem: I have an ubuntu 12.04 server I made a virtual host with

  • 0

Following problem:

I have an ubuntu 12.04 server I made a virtual host with

DocumentRoot /var/www/

Everything is fine, I see the correct index.html when I point with webrowser to the website of this virtual host.
When I look to the owner of the www folder I see:

ls -l
drwxr-xr-x  2 root root 4096 Jul 10 09:07 www

Now I change the DocumentRoot to

DocumentRoot /root/testFolder/

I copy my index.html in this folder, point with webrowser to my domain, then I get the message “You don’t have the permission…“

Ok, I check the owner of testFolder

ls -l
drwxr-xr-x 2 root     root     4096 Jul 11 08:18 testFolder

It is the same as www folder.

Ok my next try to change the group owner of testFolder

chown -R www-data:www-data /root/testFolder/

But I get the same result in my browser: “You don’t have permission to access / on this server.“

  • 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-07T12:01:53+00:00Added an answer on June 7, 2026 at 12:01 pm

    Try:

    chown -R apache:apache /root/testFolder/
    

    and

    chmod +r /root/testFolder
    

    UPDATE
    The solution in this specific case was to move apache from under /root into a folder that doesn’t require root privileges.

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

Sidebar

Related Questions

Hi hope someone can help, I have the following little problem: Ubuntu server 64bit
I have a following problem: I compiled my application on Linux Ubuntu 9.10 using
if have the following problem: I have a List which i am going through
I have the following problem: I have a search box in which user can
I have following problem: I have to make a ASP.NET Webapplication with a two-row
I have the following problem: I have some Excel-sheets and must export them into
I have the following problem: I have a form in site/banen (currently local running
I have following problem: I have built a tabbar application with 4 tabs. I
I have the following problem: I have an Activity where a user can start
I have the following problem: I have the class: class Word(object): def __init__(self): self.id

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.