admin/admin.php was not found on this server

More
5 years 4 months ago #83162 by Blaise
Blaise created the topic: admin/admin.php was not found on this server
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

Please Log in to join the conversation.

More
5 years 4 months ago #83165 by holch
holch replied the topic: admin/admin.php was not found on this server
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'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
The following user(s) said Thank You: Blaise

Please Log in to join the conversation.

More
5 years 4 months ago #83168 by Blaise
Blaise replied the topic: admin/admin.php was not found on this server

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!

Please Log in to join the conversation.

More
5 years 4 months ago #83171 by holch
holch replied the topic: admin/admin.php was not found on this server
You are welcome!

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!