The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
29 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
583 views

How to enable mod_userdir for specific user on cpanel?

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
180 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
1answer
280 views

HowTo rewrite subdomain to apache userdir

As described in http://cjmaclachlan.blogspot.de/2008/02/modrewrite-moduserdir-subdomains-and.html I want to rewrite internally http://xy.user.phpfarm.lan -> http://user.phpfarm.lan/~xy/ userdir is ...
0
votes
1answer
362 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: ...
1
vote
1answer
198 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
287 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
217 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
437 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
1answer
541 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
513 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
191 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 ...
1
vote
2answers
890 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 ...
2
votes
2answers
2k 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 ...