HTTPd / Apache. PHP mod_rewrite. Fedora 17

I am trying to install sweetcron and it needs mod_rewrite. So what is the easiest way to do this on Fedora 17?

+5
source share
1 answer

Change your httpd.conf(by default it is in /etc/httpd/conf/)

Change the setting AllowOverride NonetoAllowOverride All

After that, restart the Apache server.


You can test your rewrite mechanism with a simple simple redirect:

Options +FollowSymLinks
RewriteEngine On
RewriteRule (.*) http://stackoverflow.com
+9
source

All Articles