Directive Mod_rewrite & set AllowOverride
hi,
I'm experimenting with the installation of a vtenext CRM on Centos 7 with WHM & Cpanel
for installation I have to resolve dependencies.
I'm asked that the Mod_rewrite Directive must be enabled in php.ini.
with cpanel i can't understand how to enable mod_rewrite.
on the internet I found indications to insert "rewriteEngine On" in the .httaccess file.
unfortunately too much this did not solve my problem.
I checked the settings in the WHM in "EasyApache 4" and "MultiPHP INI Editor"
I have not found where to enable it.
I attach screenshots.
thanks to everyone who wants to help me.
Kirito
-
The rewrite module should be compiled with apache you can see this by running the following: httpd -M |grep rewrite
In most cases, it can be enabled in the .htaccess file by addingRewriteEngine On
I'm not aware of any other items that need to be modified for this.0 -
hi thanks for the reply. what you told me to do, I already did. but it does not work. I have searched everywhere but have not resolved. I tried to install it on centos 7 without cpanel and the application was installed. do you have another suggestion? Thanks again 0 -
There has to be some reason why the .htaccess file isn't being read. What's noted in the apache error logs? What is the output of the following: Pending it's in the public_html this will work otherwise just stat /the/path/to/.htaccess
stat /home/$user/public_html/.htaccess
What's currently *in* the .htaccess?cat /path/to/.htaccess
Do you have root access to the server? If so what are the options set for Directory "/" Options at WHM>>Service Configuration>>Apache Configuration>>Global Configuration0
Please sign in to leave a comment.
Comments
3 comments