Sorting out CAS and Drupal installation problems

How to install self signed certificates for use with the CAS single sign on system:
(Note that you will need to use the hostname as installed)

Menu items not showing up when clean urls are switched on.
It’s probably a problem with apache mod_rewrite.

How to switch off clean urls using the database
In the variables table change the value of clean_url to s:1:”0″;
Then truncate all the cache tables

How to enable mode_rewrite
sudo a2enmod rewrite

How to check if mod_rewrite is enabled
Create a .htaccess file containing the following:
RewriteEngine on
RewriteRule testpage.html [R]

If going to testpage.html sends you to google then it’s working

If it’s not working…
[Ubuntu] check /etc/apache2/mods-enabled to make sure that there’s a sym link to ../mods-available/rewrite.load
Check in sites-enabled that
AllowOverride is set to All (by default it’s None)

Leave a comment

Your email address will not be published. Required fields are marked *