Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • OK, I figured out my issue. It was the configuration of Apache itself. The default configuration sets “AllowOverride None” for security reasons. This tells apache to ignore the .htaccess file.

    I modified my httpd.conf and changed the setting to “AllowOverride All” for my document root, restarted apache, and that fixed it. I am now able to use the pretty permalinks.

    After re-installing the cassava module, i was able to navigate to /wp-cas/login and was redirected to my home page with a ticket in the URL.

    Luis – thanks for the time and effort in creating the plugin and supporting it!

    Shawn – I hope the above helps you out. I am using Apache 2.2 from the standard yum repos on CentOS 6.6. Make sure your document root is writable by the apache user, that the .htaccess file is readable/writable by that user, and that you have set your AllowOveride to All in your config for your document root (e.g /var/www/html).

    Thanks again all!

    Rich

    Just an additional FYI, i have validated that the apache directives to load mod_rewrite is enabled (not commented out), that the .htaccess file is in the /var/www/html directory and that file (and all the other files in /var/www/html) are owned by the apache user and the apache user is the user under which the httpd processes are running.

    Well it looks like you nailed the underlying problem – none of the user friendly permalinks are working! I tried to using formats for numeric, date/mon, all of them. The ONLY one that works is the default! If I use any of the other format, like Numeric, it shows up like Post Name, but does not work. For example, if I use numeric, the link should be like /archives/123 but instead it shows up like /page-title/ like it would be for a post name. And of course, using Post Name format does not work, even though that’s how the links are being built.

    I tried disabling your plugin, no change. I then deleted your plugin and files – same thing. I tried switching themes. I tried disabling all the plugins and using a standard WP theme. No change.

    ARGH!

    I know this does not appear to be your issue at this point, but any idea WTF is going on?

    Thanks,

    Rich

    Luis,

    Thanks for all the quick replies on this issue and please don’t apologize – it’s great that you developed this and support it so well.

    I updated to 1.2.1 today and the new update has addressed the issue where I could not save the permalink for CAS.

    Unfortunately, he has *not* solved the core issue. When I go /wp-cas/login I am still getting the 404. I have tried it setting the base to wpcas with the same results. I have also tried clearing my browser cache and accessing it as …/wp-cas /wp-cas/login and /wp-cas/login/ all with the same result.

    I am sorry to keep bothering you with this but I would really love for this to work as I am going to be using the same CAS token to authenticate users to a Java Spring based web service layer on the backend and should effectively enable single sign-on and make it much easier to manage accounts, etc. vs setting up a dedicated CAS / LDAP environment.

    Like I said, i am pretty much a WP n00b (though an experienced server side developer), so the problem may be me. If there is some setting somewhere in WP that needs to be set that you think everyone would know to do, I may not… ?? I have installed an SSL cert from startssl.com for my dev environment, though it is only a Class 1 cert so not sure if that has anything to do with it… I have not done anything specific to WP to enabled HTTPS except to access with the https:// URI and that seems to be working.

    Again, I appreciate the help on this. I know you are not making money on this and still providing support which I think is awesome of you.

    Thanks,

    Rich

    Luis,

    In PermaLink Settings, I have
    Common Settings
    – Post name : https://dev.mydomain.com/sample-post/

    Optional
    – CAS Server Base : wp-cas (it is grayed out and will not accept anything but that).
    – All other options have default values in them.

    Product Permalink Base
    – Custom: /shop/%product_cat%

    I have saved the changes and it shows it was accepted at the top of the screen. I have tried changing the CAS Server Base to wpcas and it ignores it and shows the wp-cas (in gray) after saving it, so I assume that is by design to keep people from messing it up.

    I restart apache (service httpd restart) and then try to go to:

    https://dev.mydomain.com/wp-cas/login and I get the 404 error. Obviously I am using my real domain name which is only in my test environment and I am using the /etc/hosts to resolve the name. I can access the home page and the wp-admin on both http and https, i just can’t get it to recognize /wp-cas for some reason…

    Rich

    I am having the same problem. I went into the permalinks and did as Bob said. There was a section for wp-cas that showed the letters in gray like a suggestion. I entered the wp-cas in there anyway and saved it, but it is not seeming to “take”. It shows it as grayed out again when I go in there. Any thoughts? I am a Java developer and not very experienced in WordPress…

    Thread Starter richardschramm

    (@richardschramm)

    Hi Luis,

    Yes I am running on CentOS 6. I did the yum install php-dom (which installed php-xml and some other stuff) and after restarting the web site, that did the trick!

    Thanks!

    Rich

Viewing 7 replies - 1 through 7 (of 7 total)