Apache userdir for guest user with home folder in /tmpReactivate a user whose account was deleted from Mac but Home folder still exists?Why does this login fail for user 'ServernameGuest'?Can't access apache by port 80 from externalApache 2.4 & Phusion Passenger generating 403 ErrorMod - Rewrite / .htaccess Issue with Apache 2.4.12apache userdir jail permissionsDefault documentroot served from url localhostApache not running as user with mpm_itkApache crash every dayshare user folder with other users apache
Can anyone identify this unknown 1988 PC card from The Palantir Corporation?
How could a humanoid creature completely form within the span of 24 hours?
LiOH hydrolysis of methyl 2,2-dimethoxyacetate not giving product?
Select list elements based on other list
If quadruped mammals evolve to become bipedal will their breast or nipple change position?
shebang or not shebang
What is more safe for browsing the web: PC or smartphone?
Why doesn't increasing the temperature of something like wood or paper set them on fire?
Can I use LPGL3 for library and Apache 2 for "main()"?
Why is the blank symbol not considered part of the input alphabet of a Turing machine?
Explaining intravenous drug abuse to a small child
An adjective or a noun to describe a very small apartment / house etc
All of my Firefox add-ons have been disabled suddenly, how can I re-enable them?
Splitting polygons and dividing attribute value proportionally using ArcGIS Pro?
In the figure, a quarter circle, a semicircle and a circle are mutually tangent inside a square of side length 2. Find the radius of the circle.
GitLab account hacked and repo wiped
What's the 2-minute timer on mobile Deutsche Bahn tickets?
Scaling rounded rectangles in Illustrator
Does every non-empty set admit an (affine) scheme structure (in ZFC)?
If an attacker targets a creature with the Sanctuary spell cast on them, but fails the Wisdom save, can they choose not to attack anyone else?
While drilling into kitchen wall, hit a wire - any advice?
Translation of "invincible independence"
Was there a dinosaur-counter in the original Jurassic Park movie?
What chord could the notes 'F A♭ E♭' form?
Apache userdir for guest user with home folder in /tmp
Reactivate a user whose account was deleted from Mac but Home folder still exists?Why does this login fail for user 'ServernameGuest'?Can't access apache by port 80 from externalApache 2.4 & Phusion Passenger generating 403 ErrorMod - Rewrite / .htaccess Issue with Apache 2.4.12apache userdir jail permissionsDefault documentroot served from url localhostApache not running as user with mpm_itkApache crash every dayshare user folder with other users apache
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I need to setup Apache userdir for a guest user in /tmp/guest-jpQ6cE/public_html. I've used these commands to set the correct permissions:
$ chmod o+x ~
$ chmod o+x ~/public_html
$ chmod -R o+r ~/public_html
This is what my /etc/apache2/mods-enabled/userdir.conf looks like:
<IfModule mod_userdir.c>
UserDir public_html
UserDir disabled root
<Directory /tmp/*/public_html>
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Require method GET POST OPTIONS
</Directory>
</IfModule>
This is the error I'm getting in browser when trying to access http://localhost/~guest-jpQ6cE/:
Forbidden
You don't have permission to access /~guest-jpQ6cE/ on this server.
Apache/2.4.25 (Debian) Server at localhost Port 80
This is what the the /var/log/apache2/error.log says:
[authz_core:error] [pid 12656:tid 140325196637952] [client ::1:56082] AH01630: client denied by server configuration: /tmp/guest-jpQ6cE
This is the script I'm using for creating the guest user: https://gist.github.com/pixline/6981710
I have a basic index.html file in the public_html directory and I have restarted Apache. What am I missing?
apache-2.4 users debian-stretch guest
add a comment |
I need to setup Apache userdir for a guest user in /tmp/guest-jpQ6cE/public_html. I've used these commands to set the correct permissions:
$ chmod o+x ~
$ chmod o+x ~/public_html
$ chmod -R o+r ~/public_html
This is what my /etc/apache2/mods-enabled/userdir.conf looks like:
<IfModule mod_userdir.c>
UserDir public_html
UserDir disabled root
<Directory /tmp/*/public_html>
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Require method GET POST OPTIONS
</Directory>
</IfModule>
This is the error I'm getting in browser when trying to access http://localhost/~guest-jpQ6cE/:
Forbidden
You don't have permission to access /~guest-jpQ6cE/ on this server.
Apache/2.4.25 (Debian) Server at localhost Port 80
This is what the the /var/log/apache2/error.log says:
[authz_core:error] [pid 12656:tid 140325196637952] [client ::1:56082] AH01630: client denied by server configuration: /tmp/guest-jpQ6cE
This is the script I'm using for creating the guest user: https://gist.github.com/pixline/6981710
I have a basic index.html file in the public_html directory and I have restarted Apache. What am I missing?
apache-2.4 users debian-stretch guest
add a comment |
I need to setup Apache userdir for a guest user in /tmp/guest-jpQ6cE/public_html. I've used these commands to set the correct permissions:
$ chmod o+x ~
$ chmod o+x ~/public_html
$ chmod -R o+r ~/public_html
This is what my /etc/apache2/mods-enabled/userdir.conf looks like:
<IfModule mod_userdir.c>
UserDir public_html
UserDir disabled root
<Directory /tmp/*/public_html>
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Require method GET POST OPTIONS
</Directory>
</IfModule>
This is the error I'm getting in browser when trying to access http://localhost/~guest-jpQ6cE/:
Forbidden
You don't have permission to access /~guest-jpQ6cE/ on this server.
Apache/2.4.25 (Debian) Server at localhost Port 80
This is what the the /var/log/apache2/error.log says:
[authz_core:error] [pid 12656:tid 140325196637952] [client ::1:56082] AH01630: client denied by server configuration: /tmp/guest-jpQ6cE
This is the script I'm using for creating the guest user: https://gist.github.com/pixline/6981710
I have a basic index.html file in the public_html directory and I have restarted Apache. What am I missing?
apache-2.4 users debian-stretch guest
I need to setup Apache userdir for a guest user in /tmp/guest-jpQ6cE/public_html. I've used these commands to set the correct permissions:
$ chmod o+x ~
$ chmod o+x ~/public_html
$ chmod -R o+r ~/public_html
This is what my /etc/apache2/mods-enabled/userdir.conf looks like:
<IfModule mod_userdir.c>
UserDir public_html
UserDir disabled root
<Directory /tmp/*/public_html>
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Require method GET POST OPTIONS
</Directory>
</IfModule>
This is the error I'm getting in browser when trying to access http://localhost/~guest-jpQ6cE/:
Forbidden
You don't have permission to access /~guest-jpQ6cE/ on this server.
Apache/2.4.25 (Debian) Server at localhost Port 80
This is what the the /var/log/apache2/error.log says:
[authz_core:error] [pid 12656:tid 140325196637952] [client ::1:56082] AH01630: client denied by server configuration: /tmp/guest-jpQ6cE
This is the script I'm using for creating the guest user: https://gist.github.com/pixline/6981710
I have a basic index.html file in the public_html directory and I have restarted Apache. What am I missing?
apache-2.4 users debian-stretch guest
apache-2.4 users debian-stretch guest
asked Apr 28 at 16:04
Michael KrištofMichael Krištof
11
11
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f964963%2fapache-userdir-for-guest-user-with-home-folder-in-tmp%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f964963%2fapache-userdir-for-guest-user-with-home-folder-in-tmp%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown