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

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -