Alias folder

davidd1

Verified User
Joined
Jan 31, 2013
Messages
104
Hello,
I have this server:
OS: Centos 7 (last)
Directadmin: 1.514 (last)
CSF: V10.14 (last)
Custombild: V2
php1_release=5.3
php1_mode=mod_php
opcache=no
ioncube=yes
zend=yes
suhosin=no
mariadb=10.1
webserver=apache
apache_ver=2.4

In the server I have 3 resselers with total 300+ users.

I have user "ddev" with folder "Dev/test" in his "public_html".

I want each user domain can go to "http://doaminname.com/Dev"

So I edit /etc/httpd/conf/extra/httpd-alias.conf and add at the buttom:
Code:
Alias /Dev /home/ddev/domains/mydomain.com/public_html/ddev/test
restart httpd service..



but each domain get error permission with ERROR 403.. (I check the path and it's should work fine!)

In alias I also have /pma and /webmail that point to /var/www/html/... and it's work fine!

what I do worng?

I also try I also try to open_basdir=OFF not work.
I also try chmod +x /home/ddev/domains/mydomain.com/public_html/ddev/test still not work.
I also try to create symbol_link = ln -s /home/ddev/domains/mydomain.com/public_html/ddev/test /Dev Not help..

Sorry for my bad English!
 
Hello,

What permissions do you have on /home/ddev/ ? It should be at least 711 or even 755
 
It was 710 I change it to 755 still not work!
I dont need to create a virtualhost?
 
OK :)
I fix it (i think zEitEr was right! some dir in the path not was 755...)

Thank you all!
 
Back
Top