Questions tagged [mod-userdir]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
16 views

How to enable HTTPS / Secure access in Apache2 mod_userdir?

I would like to enable users of a test server to be able to host content and access them through HTTPS. However, I'm not going to allow everyone to write to the /var/www. How can I enable the content ...
1
vote
1answer
389 views

Disable UserDir functtionaility - apache httpd 2.2.29 mod_userdir disabled, but ~ queries still being served

I have a server where I'm trying to disable the ~user behavior. I've forcibly disabled the mod_userdir module by renaming the .so from the modules directory. I confirmed that it doesn't load by ...
0
votes
1answer
246 views

apache userdir jail permissions

On Debian 8 I'm running apache2 in a jailed environment using jailkit and the userdir mod. In current jail setup users can navigate into another users directory i.e /home/jail/home/anotheruser and ...
1
vote
1answer
407 views

Apache RewriteRule for each User directory

I have two directories in each of my users' home folders: .html-data and .cgi-bin. The first one contains static (.html) files, the second one contains files for dynamic document generation. Each ...
2
votes
0answers
202 views

Apache userdir over Kerberized NFSv4 mount : Forbidden access

I have set up a practical room dedicated to web development learning. Users accounts are managed by a Samba 4 AD and users files are stored in a central NFS server with exports securised by Kerberos. ...
0
votes
1answer
821 views

Enabling basic auth in apache user directory from Directory context instead of .htaccess file

I've enabled Apache user directories on my Ubuntu server. User can now load their /home/username/public_html directory from the browser by visiting http://example.com/~username. I'm trying to ...
1
vote
0answers
120 views

apache2.2: ldap_userdir + mod-rewrite does not work properly

My apache config: DocumentRoot /var/www <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/...
0
votes
0answers
98 views

UserDir is disabled yet server still responds differently to /~root

Using CentOS 6.5 I am trying to completely disable User Dir functionality so that /~ will not work at all. My httpd.config UserDir disabled and #UserDir public_html And also commented out #...
1
vote
1answer
3k views

How to enable mod_userdir for specific user on cpanel? [closed]

I know that in cPanel/WHM you can allow users to preview their site using http://server_ip/~username Any ideas on how to do this?
1
vote
1answer
471 views

RewriteRule not working with mod_userdir

My setup: Ubuntu 13.04 Apache/2.2.22 (Ubuntu) PHP 5.4.9-4ubuntu2.2 -- $ ls /etc/apache2/mods-enabled/*.load alias.load auth_basic.load authn_file.load authz_default.load ...
0
votes
2answers
876 views

HowTo rewrite subdomain to apache userdir

As described in this blog I want to rewrite internally http://xy.user.phpfarm.lan -> http://user.phpfarm.lan/~xy/ Module userdir is enabled. With the following Apache2 vhost config file, it has ...
0
votes
1answer
1k views

Apache userdir with custom url

mod_userdir seems to be able customize where the home folders are, but is there a way to make those available under a custom URL? I want to provide users with a url like the following: http://example....
1
vote
1answer
303 views

Ubuntu script to add multiple user with apache userdir and mysql username

In Ubuntu 12.04, I'm having difficulties creating a script (since I'm not experienced with it), and is assigned to add multiple users from a list of names in file usernames.txt. The users will have ...
0
votes
1answer
598 views

Apache user_dir module failed

I'm trying to setup user_dir module in my DEVSERVER but gets a 404 Not found error any time I try to reach any URL like for example: http://devserver/~reynierpm/ My userdir.conf file is as follow: &...
0
votes
1answer
617 views

123-reg: Enabling PHP in their Starter package [closed]

One of my clients has been with 123-reg for years and wanted to continue to use their hosting. Upon starting a new 'Starter Package' I have been unable to do the simplest thing and enable PHP. The ...
1
vote
1answer
1k views

NFS mounted userdir in httpd on CentOS

I am using httpd server on CentOS (with SELinux enabled). I want to use UserDir (public_html) If I create the user on local system it works but when I give the path on NFS shared system it gives 404 ...
1
vote
2answers
871 views

PHP files are downloaded, not executed in UserDir on Apache

We're running a webserver using Debian 6.0.3 with Apache 2, we recently upgraded from Debian 5 to 6. Since then php scripts in the user directories (using mod_userdir) have stopped working, they are ...
0
votes
2answers
905 views

Using UserDir in Apache why is executable needed on /home/usr?

I'm playing around with the UserDir function in apache: http://httpd.apache.org/docs/2.0/mod/mod_userdir.html Here is my configuration: <IfModule mod_userdir.c> UserDir enabled user ...
5
votes
2answers
242 views

Deny all files in a certain directory using <files>

Im attempting to secure the mod_userdir module in apache.. Currently the directory structure for my users sites is /home/{user}/domains/{domain}/public_html/site The issue is, a number of my users ...
2
votes
2answers
2k views

django + wsgi + suexec + userdir + apache?

I've got a django 1.1 website I want to run in wsgi (as that seems to be the recommended deployment on apache). I want it to run as the www user (apache is running as www-data). I would ideally like ...
5
votes
2answers
5k views

Apache 2 UserDir for only one VirtualHost

Is it possible to enable the UserDir Directive for just one VirtualHost rather than have it on for all and then disable it (with "UserDir disable") for each VirtualHost you don't want it on? I have ...