Jump to content

Enable full friendly rewrite option


Recommended Posts

Hello everyone,

 

I am not able to turn on the Full Friendly Rewrite option.

unknown.png

The control from .htaccess file is enabled in apache server configuration, so probably I need to enable something else.

My version of WHMCS: 7.8.3-release.1
PHP Version: PHP 7.3.16-1+ubuntu18.04.1

Link to comment
Share on other sites

Same here.  WHMCS 7.10.1, PHP 7.3.17, Apache2 2.4.43, fresh install.  Auto-Manage Rewrite is ON and WHMCS Rules synchronized.  No errors in Apache's error.log or anything suspicious in server.log. 

I do have mod_rewrite enable:

Quote

root@host:/var/log/apache2#     a2enmod rewrite
Module rewrite already enable

I have the port 80 rewrite provided by Letsencrypt in my virtual server config and it looks like this, not sure this is an issue, but figured I'd mention it:

RewriteEngine on
RewriteCond %{SERVER_NAME} =host.somesite.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]

My .htaccess looks like this:

### BEGIN - WHMCS managed rules - DO NOT EDIT BETWEEN WHMCS MARKERS ###
<IfModule mod_rewrite.c>
RewriteEngine on

# RewriteBase is set to "/" so rules do not need updating if the
# installation directory is relocated.  It is imperative that
# there is also a RewriteCond rule later that can effectively get
# the actual value by comparison against the request URI.
# 
# If there are _any_ other RewriteBase directives in this file,
# the last entry will take precedence!
RewriteBase /

# Redirect directories to an address with slash
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+[^/])$  $1/ [R]

# Send all remaining (routable paths) through index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Determine and use the actual base
RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$
RewriteRule ^.*$ %2index.php [QSA,L]
</IfModule>
### END - WHMCS managed rules - DO NOT EDIT BETWEEN WHMCS MARKERS ###

 

 

Link to comment
Share on other sites

  • 2 weeks later...
On 5/3/2020 at 9:11 AM, imsky said:

maybe it's a feature just for the people who pay for whmcs?

I pay and it does not work, so don't think that is the case.

WHMCS likely needs to update their documentation or fix a bug in the .htaccess code...given the number of people who cannot configure it properly.

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated