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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:07:11+00:00 2026-05-25T19:07:11+00:00

I am using Arch Linux on a web development machine, and have a multi-vhost

  • 0

I am using Arch Linux on a web development machine, and have a multi-vhost setup with the root directories of each vhost under:

/var/www/vhosts

Apache2 is using the user/group: http/http

If I setup the files to be owned by my user and the http group then apache cannot access them. If I setup the files to be owned by http and the users group then I have no access.

I am trying to move from a Windows development machine to Linux since right now I am doing PHP MySQL work.

How can I get around this issue so that my user can create and edit files without needing to worry about breaking access for apache each time?

  • 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-25T19:07:12+00:00Added an answer on May 25, 2026 at 7:07 pm

    I use Arch as well quite a lot and instead like the approach of using a limited user’s home directory instead of /var/www/vhosts. For instance, you could have a user named sites, ensure that they’re not apart of any admin groups and then have the sites in /home/sites/site1, /home/sites/site2, etc… Then make sure that those directories are 644 and files 75:

    find . -type f -print0 | xargs -0 chmod 0664 # For files
    find . -type d -print0 | xargs -0 chmod 0755 # For directories
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Arch linux and I need to create virtual serial port on
I am using following versions of Ruby and Rails on arch linux [hardik@sunshine: kandibank
I tried to benchmark optimized string operations under http://lxr.linux.no/#linux+v2.6.38/arch/x86/lib/string_32.c and compare to regular strcpy:
Using online interfaces to a version control system is a nice way to have
Using TortoiseSVN against VisualSVN I delete a source file that I should not have
Using JDeveloper , I started developing a set of web pages for a project
I've built a Django web application and some Django-Piston services. Using a web interface
I have launch mongodb server: [demas@arch.local.net][~]% mongod --dbpatmongod --dbpath /home/demas/temp/ Mon Apr 19 09:44:18
I'm trying to write a web frontend for Crontab in Ruby using the excellent
I am writing a small application with Qt 4.6 (64-bit Arch Linux, though that

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.