Título: [403 Forbidden] You don't have permission to access (solved) Publicado por: Diabliyo en 24 Junio 2011, 18:07 pm Buen dia.
Recien instale CentOS en el que sera mi servidor, pero por alguna razon (por mas que le busco), no entiendo porque al crear el Alias, no puedo acceder al contenido de mi public_html. Dejo la configuracion del httpd.conf (omito partes que no interesan) Código: ServerRoot "/etc/httpd" PidFile run/httpd.pid Listen 80 Include conf.d/*.conf User apache Group apache ServerAdmin root@localhost DocumentRoot "/var/www/html" <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory "/var/www/html"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> <IfModule mod_userdir.c> UserDir disable </IfModule> <Directory /home/*/public_html> Order allow,deny Allow from all Options FollowSymLinks </Directory> DirectoryIndex index.html index.php AccessFileName .htaccess <Files ~ "^\.ht"> Order allow,deny Deny from all </Files> HostnameLookups Off ErrorLog logs/error_log LogLevel warn LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent CustomLog logs/access_log combined Y la configuracion de mis alias: /etc/httpd/conf.d/mis_alias.conf: Código: Alias /distros "/home/distros/public_html" <Directory "/home/distros/public_html"> Options Indexes MultiViews FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> Cual sera el problema ? Título: Re: [403 Forbidden] You don't have permission to access /distros/ on this server. Publicado por: Diabliyo en 24 Junio 2011, 18:47 pm Solucionado...
Solo comente la linea UserDir disable y deje asi: UserDir public_html. Código: <IfModule mod_userdir.c> UserDir disable </IfModule> // despues <IfModule mod_userdir.c> UserDir public_html </IfModule> Re inicie apache y listo... |