Skip to main content

Directive Mod_rewrite & set AllowOverride

Comments

3 comments

  • cPanelLauren
    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 adding RewriteEngine On
    I'm not aware of any other items that need to be modified for this.
    0
  • kiritophelium
    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
  • cPanelLauren
    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 Configuration
    0

Please sign in to leave a comment.