-edit2- wtf, now its looking for /etc/apache2/htdocs/file.ext. WTF!!!!
I want static.mysite.com/file.ext to access /var/www/mysite/data/public/file.ext
so i wrote the below in apache. I get a 403 error. My file is 2750. When i go through www.mysite.com/file.ext i can see it (this is going through mod_mono/xsp) but not through static. How do i fix this? i prefer not changing permissions
Forbidden You don't have permission to access /file.ext on this server.
<VirtualHost *:80> ServerName static.mysite.com <Directory /var/www/mysite/data/public> </Directory> </VirtualHost>
-edit- i also notice this in my logs
[Mon Mar 28 08:51:42 2011] [crit] [client 18.104.22.168] (13)Permission denied: /etc/apache2/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable