SPECIAL OFFER: Only $69 for access to everything in OSTraining for 1 year! You save $75! 
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!

Panels Class - Sample Site - Clean Urls don't work

5 years 10 months ago #118358 by tfried
Hi, I'm still quite a beginner on this...

The panels class " www.ostraining.com/courses/class/drupal/panels?task=view " provides a sample site and sql to be installed as a starting point for the exercises. Because I'm on Linux I can't use the Acquia Desktop, but anyway got that site installed pretty much straight forward, with the resources provided by you on GitHub for this class.

The site comes up for me by typing localhost/panels - instead of localhost/drupal, but for the subsides the clean urls are not working so that I had to modify eg. localhost//panels/upcoming-training into localhost/panels/?q=upcoming-training.

With that I went to "panels/?q=admin/config/search/clean-urls" disabled it, saved it and got it working although my other sites have it enabled, so Apache is supporting it. Any hint what I could check to get the clean Urls working for this ostraining site as well?

Thanks....

Please Log in to join the conversation.

5 years 10 months ago #118360 by Nick
Hi tfriend,

Please give the following troubleshooter a try:
www.ostraining.com/blog/drupal/clean-url/

Let us know if you have any questions along the way.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

5 years 10 months ago #118373 by tfried
Thanks - found it.....

in ../apps/drupal/conf/htaccess.conf the <Directory ..." "> entry for the new panels site was missing.

Just created a new directory entry by copying an existing one of an other site and changed only:
RewriteBase /panels

After that the clean URL test passed.... and it's working now...

Please Log in to join the conversation.

5 years 10 months ago #118377 by Valentin
Hi tfriend,
I'm glad the urls are working now.

Let us know if we can be of any help

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!