Hi
I have a css file stored outside the server root and a symbolic link to it in the server root. The result is a 403 (Forbidden) error from the server.
EG:
/var/www/html = where my site is
/var/www/css = where my css is
/var/www/css/test.css = my css file
/var/www/html/css = symbolic link to /var/www/css
I have included /var/www/css in PHP's "open_based ir" and I can access the files with PHP include(). I have also checked the permissions on the files - all 777.
I can work around in PHP but it's a pain and I would like to get it working more efficiently.
Does anyone know what could cause this 403 error and if possible how to fix it.
Thanks!
Henry
I have a css file stored outside the server root and a symbolic link to it in the server root. The result is a 403 (Forbidden) error from the server.
EG:
/var/www/html = where my site is
/var/www/css = where my css is
/var/www/css/test.css = my css file
/var/www/html/css = symbolic link to /var/www/css
Code:
www.domain.com/css/test.css --> error 403
I can work around in PHP but it's a pain and I would like to get it working more efficiently.
Does anyone know what could cause this 403 error and if possible how to fix it.
Thanks!
Henry
Comment