I don't know why wp-content is loaded, even though the web content is only 
index.php. There is no link that points to the wp-content.

The following is apache web settings:
<VirtualHost *:443>
        ServerName cas.domain.com
        ServerAdmin [email protected]

        <Directory "/var/www/html">
                <IfModule mod_auth_cas.c>
                        AuthType CAS
                </IfModule>
                # Options Indexes FollowSymLinks
                # AllowOverride All
                # Require all granted
                Require valid-user
        </Directory>

        <IfModule mod_auth_cas.c>
                CASLoginUrl           https://cas.domain.com:8443/cas/login
                CASValidateUrl       
 https://cas.domain.com:8443/cas/serviceValidate
                CASCookiePath         /var/cache/apache2/mod_auth_cas/
                CASCertificatePath    /etc/pki/tls/certs/cas.crt
                CASSSOEnabled         On
                CASDebug              On
        </IfModule>

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

        SSLCertificateFile /etc/pki/tls/certs/cas.crt
        SSLCertificateKeyFile /etc/pki/tls/private/cas.key
</VirtualHost>


The main problem with this topic is *error Unauthorized* content after 
logging in using the static user: *casuser*, *Mellon*. Can anyone help 
Unauthorized problems?

Pada Senin, 24 September 2018 12.40.24 UTC+7, Ramakrishna G menulis:
>
> Fahmi,
>
> I your *HTTPSandIMAPSwildcard-1503925297.json *you have specified https 
> and trying to validate http. "http://
> cas.domain.com/wp-content/uploads/alternative.jpg"
>
> You can ignore js, css and images service validation by doing this in your 
> ssl.conf
>
> <Location ~ 
> "^/sso(/images/.*|/js/.*|/css/.*|/files/.*|/fonts/.*|/html/.*|/webjars/.*)*$">
>                 Require all granted
>                 ProxyPass http://localhost/sso/$1/
>                 ProxyPassReverse http://localhost/sso/$1/
>          </Location>
>
> Thanks
> Ramakrishna G
> +91 8792114542
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/f95c0586-c1ec-477f-b1e6-cdb87e01ef95%40apereo.org.

Reply via email to