django - where to place .htaccess on elastic beanstalk python -


i'm trying remove www url, , using .htaccess file rewrite rule. don't know put file in elastic beanstalk folder structure, or have created.

i've tried placing .htaccess in 1. /var/www/html 2. django application folder 3. same folder wsgi 4. django templates folder 5. in root of project folder.

none of these have made difference. interested either place .htaccess file, or way remove www might django specific.

apache's allowoverride set none default. have .ebextensions touches change default allowoverride on documentroot folder.

you can verify connecting instance through ssh , check httpd config.


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -