[BlueOnyx:19762] Re: Enabling the rewrite module in Apache config

Michael Stauber mstauber at blueonyx.it
Fri Jun 24 12:55:31 -05 2016


Hi Chuck,

> Does anyone have any experience with, or recommendations on enabling the rewrite 
> module in the Apache config?

It's enabled by default on all BlueOnyx versions. You can verify it this
way:

[root at 5209r ~]# /usr/sbin/httpd -M|grep rewrite
rewrite_module (shared)

So you (or your site developer) should be able to use it.

If you want to create your own rewrite rules, they can either go into
the Vsites include config file:

/etc/httpd/conf/vhosts/siteX.include

... where they won't be overwritten by any changes. Or they could go
into .htaccess files in /web or subdirectories of your actual Vsite.

For some of these functions to work in .htaccess files you need to allow
them first via the GUI. For that see "Server Management" / "Network
Services" / "Web" and see under "Options" and "Allow Override". You may
have to tick both "All" checkboxes.

-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list