By neilticktin on
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
Unfortunately, no.
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.
The SSL VirtualHost needs a AllowOverride All
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
/*_*/
http://www.xmacinfo.com
xmacinfo is right!
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
Thanks!
That worked for me too.
The RewriteRules have changed since earlier Drupal versions
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:
Now it looks like:
http://www.fonant.com - Fonant Ltd - Quality websites