Questions tagged [mod-userdir]

mod_userdir is an Apache module that provides access to per-user directories using the `http://example.com/~user/` syntax.

mod_userdir is an Apache module that provides access to per-user directories using the http://example.com/~user/ syntax.

15 questions
1
vote
1 answer

404 error with Apache rewrite and userdirs

On my computer I have an Apache server with rewrite and userdir modules enabled. The website is located in /home/pedro/Dropbox/www/cocina/ and the webserver root is /home/pedro/Dropbox/www/ If go to http://localhost/~pedro/cocina/index.php the…
Peter
  • 5,138
  • 5
  • 29
  • 38
1
vote
1 answer

How to redirect root to /~user subdirectory (Apache mod_userdir) using .htaccess?

Apache's mod_userdir Our company provides a service to host our webpage using the Apache's "per-user directory mod" (see doc). That is, Alice, Bob, and myself can access our own subdirectory…
chckx592
  • 61
  • 1
  • 9
1
vote
0 answers

How to obtain the absolute path of apache userdir

Is there any way to obtain the absolute path of the apache userdir (the path that http://localhost/~username/ maps to, given that it is enabled in the apache configurations). A table, which UserDir directives correspond to which paths can be found…
phinz
  • 1,225
  • 10
  • 21
0
votes
1 answer

how to NOT modify htaccess run to different userDir in Cakephp

I have apache userDir like http://127.0.0.1~/danny so I modify the .htaccess add RewriteBase /~danny/ It's work fine . But I have many project , I often copy code to different apache userDir so I Frequent modify the .htaccess I want…
user916158
  • 34
  • 6
0
votes
1 answer

Symfony 1.4 under a userdir in Apache

I have users who want to run their own Symfony projects under their home directories, but I can't get Symfony to work properly. In my Apache2 config file, I set the userdir as: UserDir sfproject/web But the DocumentRoot has to…
sqlman
  • 155
  • 1
  • 1
  • 9
0
votes
1 answer

PURE-FTPd and Apache userdir | how to make public_html directory in home automaticly

I am using an Ubuntu 20.04.2 LTS Server and Apache 2.4.41. I´ve installed pureFTPd with mySQL and inserted some test users. The users register in a frontend and then they are created in the SQL Database via PHP. It works fine. But I want all users…
0
votes
0 answers

Catalina apache 2.4.41 http://localhost/~username The requested URL was not found on this server

% whoami tim.daley % % apachectl -V Server version: Apache/2.4.41 (Unix) Server built: Oct 1 2019 10:31:38 Server's Module Magic Number: 20120211:88 Server loaded: APR 1.7.0, APR-UTIL 1.6.1 Compiled using: APR 1.7.0, APR-UTIL 1.6.1 Architecture:…
AixNPanes
  • 1,170
  • 3
  • 14
  • 33
0
votes
1 answer

How to Write/Upload from Wordpress Web Interface Installed on Ubuntu 18.04 VirtualBox

Host: Windows 10 64bit VirtualBox: Ubuntu 18.04 Apache 2.4, MySQL 5.7.25, PHP 7.2.10 userdir module enabled I've installed WordPress thus: chris@montford:~/public_html$ wp core download Downloading WordPress 5.0.3 (en_US)... md5 hash verified:…
Chris
  • 261
  • 2
  • 8
0
votes
0 answers

Configure Slim to run in user account

I'm having trouble getting Slim to run in my user account on the university's web server. I'm pretty sure I'm just missing a step in my .htaccess file. I have placed my Slim application in /home/smithj/public_html/CS371/MySlimApp My .htaccess file…
Zack
  • 6,232
  • 8
  • 38
  • 68
0
votes
1 answer

.htaccess routing in domain ip with ~user parameter (apache UserDir)

I've developed an application in PHP using a routing system through .htaccess and until today, I've managed to deploy this application in any server environment without any problems. Today, a client of mine asked me to deploy the application to…
CIRCLE
  • 4,501
  • 5
  • 37
  • 56
0
votes
1 answer

How to include UserDir paths to ProxyPass - Apache 2.4.7 on Ubuntu 14.04

I have this configuration: Ubuntu Server 14.04 Apache 2.4.7 with proxy_module PHP 5.5.9 + PHP5-FPM I am passing all request for PHP files, with the php file extension, to the PHP wrapper through FastCGI with the following command: ProxyPassMatch…
0
votes
1 answer

Applying UserDir directive in XAMPP's Apache server

I want to create user directories in an Apache server that are also accessible via the FileZilla FTP server. How do I create these directives and most importantly how do I apply them to Apache?
TheWolf
  • 1,675
  • 4
  • 22
  • 34
0
votes
1 answer

Add a sudomain for each folder in my userdir path with Apache

I activated the userdir mod with apache2 and configure my domain to get the content of the www folder in my home. I create a Virtualhost for the main domain which works good. But now i would like to automatically add a subdomain for each folder in…
Xavier
  • 3,919
  • 3
  • 27
  • 55
0
votes
1 answer

404 Not Found - Can't get apache webserver to see UserDir

So I'm trying to set up a full LAMP for a friends computer, and everything seems fine with the installation, I just can't get apache to find the user's ~/public_html directory. Entering localhost, for just the /var/www directory or whatever works…
user641687
-2
votes
2 answers

How to remove ~ from mod_userdir link?

I have centos7 dedi with latest whm/cpanel install I've enabled access to user dirs without domains example http://ip/~user but my target is to be http://ip/user Now my question would be is it possible to remove ~ and how...? Googled a lot and read…