martinostlund
Verified User
- Joined
- Feb 10, 2011
- Messages
- 13
Hello.
Before our customers have pointed their domain to our control, their website is hosted on the default http://server-ip/~user
This tilde-user setup is default of /etc/httpd/conf/extra/httpd-vhosts.conf:
We need to have a <Directory>AllowOverride All</Directory> setting on /~user, but setting this in the httpd-vhosts.conf only affects the DocumentRoot, which is wrong.
Is there any way to make / allow specific values for /~user configuration?
Regards,
Martin
Before our customers have pointed their domain to our control, their website is hosted on the default http://server-ip/~user
This tilde-user setup is default of /etc/httpd/conf/extra/httpd-vhosts.conf:
Code:
AliasMatch ^/~([^/]+)(/.*)* /home/$1/public_html$2
DocumentRoot /var/www/html
We need to have a <Directory>AllowOverride All</Directory> setting on /~user, but setting this in the httpd-vhosts.conf only affects the DocumentRoot, which is wrong.
Is there any way to make / allow specific values for /~user configuration?
Regards,
Martin