Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Not able to get to admin login

More
5 years 5 months ago #176611 by jelo
Replied by jelo on topic Not able to get to admin login

karencheah wrote: The .htaccess was basically created automatically by cPanel when setting up the redirect to https. The result of that has entries in .htaccess with reference to cpanel as well as Comodo.

Setting up redirections is done by the user. That is not an automatic setup.
The is normally a .htaccess file created by cPanel by default. But that is not interfering with any webapplication.

karencheah wrote: Limesurvey is already in a folder under root.


So the structure is this?
/webroot/.htaccess
/webroot/limesurvey/.htacess

What is the redirection, which you or the hosting support entered, doing?
Redirecting domain.tld/limesurvey to domain.tld/limesurvey ?

The issue looks currently like a misplaced redirection instruction. Depending on the content of these htaccess files, a broken auth in LimeSurvey is not that seldom.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • karencheah
  • karencheah's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 5 months ago #176612 by karencheah
Replied by karencheah on topic Not able to get to admin login
Yes, I did setup the redirect using cPanel, not automatic setup for sure. But the .htaccess was automatically put there when I did the redirect on cPanel. In cPanel, under Redirects, I've selected a permanent 301 redirect for the domain name to the https of the domain name, with or without www, and wild card redirect. This created the following .htaccess (I've replaced the domain name)

RewriteEngine on
RewriteCond %{HTTP_HOST} ^abc\.com\.au$ [OR]
RewriteCond %{HTTP_HOST} ^www\.abc\.com\.au$
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^(.*)$ "https\:\/\/abc\.com\.au\/$1" [R=301,L]

And yes, this was in
/webroot/.htaccess

but there is no .htaccess in
/webroot/limesurvey/

What is a broken auth in Limesurvey?
The topic has been locked.
More
5 years 5 months ago #176614 by jelo
Replied by jelo on topic Not able to get to admin login

karencheah wrote: but there is no .htaccess in
/webroot/limesurvey/

If you installed limesurvey in a folder inside the webroot, you should have a .htaccess file shipped by LimeSurvey.
The cPanel filemanager is hiding files with a point-prefix (e.g. .htaccess) by default.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • karencheah
  • karencheah's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 5 months ago #176615 by karencheah
Replied by karencheah on topic Not able to get to admin login
I'm looking at the directory using my ftp client but there is no .htaccess in the limesurvey folder. There is .bowerrc, not sure what that is.

I have installed Limesurvey ages ago, more than 5 years ago. Maybe it's different then? So maybe I need this .htaccess in the limesurvey folder and can I get the standard shipped one from somewhere?
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose