This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HOW-TO]How to enable mod_rewrite in Sentora
#1
[HOW-TO]How to enable mod_rewrite in Sentora
Activate the mod_rewrite module with
Code:
sudo a2enmod rewrite
And restart the apache
Code:
sudo service apache2 restart
or
To use mod_rewrite from within .htaccess files, edit the default VirtualHost with
Code:
sudo nano /etc/apache2/sites-available/default
And change the first two occurrences of
Code:
AllowOverride None
to
Code:
AllowOverride All
Save and exit the nano editor via CTRL-X, “y” and ENTER.
Restart the server again:
Code:
sudo service apache2 restart
Voila! To check if everything is activated correctly, check your phpinfo() output. It should have this in it:
[Image: mod-rewrite-in-php-install.png.pagespeed...I-n2uR.png]
Reply
Thanks given by: DimitarBG


Messages In This Thread
[HOW-TO]How to enable mod_rewrite in Sentora - by Cantalupo - 12-18-2014, 08:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Secure Sentora Domains with Let's Encrypt TGates 27 97 ,152 06-08-2024, 05:06 PM
Last Post: andykimpe
Ubuntu: How to Enable tls/ssl in proftpd Diablo925 2 12 ,832 04-21-2020, 03:35 AM
Last Post: iraqiboy90
Secure Sentora With SSLForFree Chris L 1 5 ,324 01-22-2020, 09:19 PM
Last Post: ralphharder

Forum Jump:


Users browsing this thread: 3 Guest(s)