admin/admin.php was not found on this server

More
8 years 7 months ago #83162 by Blaise
Hello

I installed LimeSurvey locally, using Mamp (on a Mac, of course)

I suppose it went right since I could access limesurvey/admin/admin.php and get the "You have to login first"
I did try, using "admin" as Username and "password" as ... password.

Then I get the following message:
"The requested URL /limesurvey/admin/admin.php was not found on this server."

I am a bit puzzled :huh: , since in my understanding admin.php is generating the login form...

How can I solve that ?
Thanks
The topic has been locked.
LimeSurvey Partners
More
8 years 7 months ago #83165 by holch
That sounds like you did something wrong in the config.php with the rooturl.

Could you post the folder where you have LS installed locally and what the config.php says?

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The following user(s) said Thank You: Blaise
The topic has been locked.
More
8 years 7 months ago #83168 by Blaise

holch wrote: That sounds like you did something wrong in the config.php with the rooturl.

Me? Something wrong? Last time was years ago!

holch wrote: Could you post the folder where you have LS installed locally and what the config.php says?

About rooturl, the config.php, line 44, said
$rooturl = "http://{$_SERVER}/limesurvey"

Following your remarks, I changed it to incorporate path info
$rooturl = "http://{$_SERVER}/NNQ/Quest/limesurvey"
and... it worked!

Thanks a lot, holch!
The topic has been locked.
More
8 years 7 months ago #83171 by holch
You are welcome!

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.

Start now!

Just create your account and start using Limesurvey today.

Register now