(12-18-2014, 08:53 PM)Cantalupo Wrote: Activate the mod_rewrite module withWhen I did this, my apache does not work anymore. It says "Fail". Do you guys know how to fix it?
And restart the apacheCode:sudo a2enmod rewrite
orCode:sudo service apache2 restart
To use mod_rewrite from within .htaccess files, edit the default VirtualHost with
And change the first two occurrences ofCode:sudo nano /etc/apache2/sites-available/default
toCode:AllowOverride None
Save and exit the nano editor via CTRL-X, “y” and ENTER.Code:AllowOverride All
Restart the server again:
Voila! To check if everything is activated correctly, check your phpinfo() output. It should have this in it:Code:sudo service apache2 restart
[HOW-TO]How to enable mod_rewrite in Sentora
|
|
« Next Oldest | Next Newest »
|
Messages In This Thread |
[HOW-TO]How to enable mod_rewrite in Sentora - by Cantalupo - 12-18-2014, 08:53 PM
RE: [HOW-TO]How to enable mod_rewrite in Sentora - by elftidus - 05-08-2015, 05:54 AM
RE: [HOW-TO]How to enable mod_rewrite in Sentora - by Me.B - 05-08-2015, 06:25 PM
RE: [HOW-TO]How to enable mod_rewrite in Sentora - by apinto - 05-08-2015, 10:55 PM
RE: [HOW-TO]How to enable mod_rewrite in Sentora - by Me.B - 05-08-2015, 11:16 PM
RE: [HOW-TO]How to enable mod_rewrite in Sentora - by marcilioqsj - 07-16-2015, 12:47 PM
RE: [HOW-TO]How to enable mod_rewrite in Sentora - by apinto - 07-17-2015, 02:46 AM
RE: [HOW-TO]How to enable mod_rewrite in Sentora - by marcilioqsj - 07-17-2015, 03:58 AM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Secure Sentora Domains with Let's Encrypt | TGates | 27 | 97 ,209 |
06-08-2024, 05:06 PM Last Post: andykimpe |
|
Ubuntu: How to Enable tls/ssl in proftpd | Diablo925 | 2 | 12 ,836 |
04-21-2020, 03:35 AM Last Post: iraqiboy90 |
|
Secure Sentora With SSLForFree | Chris L | 1 | 5 ,326 |
01-22-2020, 09:19 PM Last Post: ralphharder |
Users browsing this thread: 1 Guest(s)