I am working on moving an IIS server website onto an AWS Multi AZ instance. I am trying to figure out how to Manipulate the web link on Apache.
I referred to this link but have not been able to solve the problem: How to enable mod_rewrite for Apache 2.2
When I type in:
mod_rewrite
I get this error:
bash: mod_rewrite: command not found
This line is not commented:
LoadModule rewrite_module modules/mod_rewrite.s
Also, when I try to restart Apache using the following command:
sudo service apache2 restart
I receive this error:
sudo: apt-get: command not found
Which I have read that it might have to do something with CentOS.
I am using Amazon Linux AMI release 2012.03.
How can I get the mod_rewrite command to work?
Let me know if you need anymore information.
Thanks!