after going to /etc/httpd/conf/httpd.conf and even after changing
Allow override none -> Allow override All , and then restarting the server using
service httpd restart
and then i type the command
a2enmod proxy
then i get an error :
bash- a2enmod command not found. .
Can you please help me? i am getting an error in the developer tools console when i am using web-sockets and so for that i need to enable web-sockets proxy.
2
Answers
I had the same problem, and this answer solved my issue:
Apache2 command such as a2enmod and a2ensite no working its showing command not found in Ubuntu
Try:
Then,
Then, you might also want to try
sudo a2enmod
instead of justa2enmod
On Debian
a2enmod
is located at/usr/sbin/a2enmod
and sometimes/usr/sbin
is not in your PATH.