I have a httpd.conf
file that looks like this:
Alias /robots.txt /var/www/tech_eval/static/robots.txt
Alias /favicon.ico /var/www/tech_eval/static/favicon.ico
AliasMatch /([^/]*\.css) /var/www/tech_eval/static/styles/$1
Alias /media/ /var/www/tech_eval/static/media/
<Directory /var/www/tech_eval/static>
Order deny,allow
Allow from all
</Directory>
WSGIScriptAlias /tech_eval /var/www/tech_eval/scripts/django.wsgi
<Directory /var/www/tech_eval/scripts>
Order allow,deny
Allow from all
</Directory>
This works fine for my tech_eval
project, but it's starting to cause problems with other sites. I think it might be appropriate me for to move all this stuff to a .htaccess
file located in the tech_eval
folder so that it doesn't cause problems. Although, I don't think all these options will work when ran from a .htaccess
will they? What are my options? I mean, I could fix this by prefixing everything with tech_eval
but then I'd wind up with one big master file for all my sites and it would just become a big mess.