Hi,

Trying to bring an shopping cart up, and one of the show stoppers is that we have a SSL cert installed and working just fine on the home page, but most (all?) of the other pages do not appear to work with https access and clean URLs module.

Anyone know the definitive way to solve this?

Thanks!

Neil

Comments

flamenco’s picture

Unfortunately, no. However... I do know that many scripts will not work with clean URL's at all, and not just shopping carts. If it's a 3rd party shopping cart you're trying to pull in, first I would check their documentation or support and find out if clean URL's can work, and if so, what special considerations may be needed.

If it's actually Ubercart or another cart typically used with Drupal, somebody else here might have some ideas. You might want to elaborate on your set-up if you want better answers.

xmacinfo’s picture

The SSL VirtualHost needs a AllowOverride All. So if you are able to see the HTTPS version of the site with ?q=, you just need to configure the SSL version of the VirtualHost.

See: http://drupal.org/node/475730#comment-1726870

betoaveiga’s picture

I was having problems with clean urls only on SSL.
I'm using apache2 on Debian.
To avoid this problem I modified default-ssl on sites-enabled folder of my installation of Apache (/etc/apache2/sites-enabled/default-ssl). I replaced 2 occurrences of "AllowOverride none" to "AllowOverride all", and it worked.
I think that are better ways to do this, but this fix could be a start to find that way.
Thanks!

Senior Drupal Developer — Backend, Frontend & DevOps/CI/CD

rangi500’s picture

That worked for me too.

fonant’s picture

If you're not including the Drupal-supplied web/.htaccess file, you might need to update your apache configuration to use the current Rewrite rules.

Some time ago the rule looked like:

RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

Now it looks like:

RewriteRule ^ index.php [L]

http://www.fonant.com - Fonant Ltd - Quality websites