Linoor is a premium Template for Digital Agencies, Start Ups, Small Business and a wide range of other agencies.

needhelp@linoor.com
888 999 0000

how to write to .htaccess using bitnami instance

You are here:
  • KB Home
  • how to write to .htaccess using bitnami instance
Estimated reading time: < 1 min

To make the .htaccess file writable when disabled use the following steps.

1.

  • Change AllowOveride None
  • to AllowOveride All

2.

Restart server with following command

  • sudo /opt/bitnami/ctlscript.sh restart apache
    
3.
go into main directory where .htaccess is located
4.
Change the permission with the following script

sudo chmod 666 .htaccess

change it back after .htaccess is written to

sudo chmod 644 .htaccess
———————–htaccess.conf—————————————–

sudo chmod 666 htaccess.conf

change it back after htaccess.conf is written to

sudo chmod 644 htaccess.conf

———————————wp-config.php——————————-

sudo chmod 666 wp-config.php

change it back after wp-config.php is written to

sudo chmod 640 wp-config.php
Was this article helpful?
Dislike 0
Views: 3