strange rewrite(?)

More
3 years 10 months ago #98103 by markusmaier
markusmaier created the topic: strange rewrite(?)
Hi!

Trying to install limesurvey as a folder within a TYPO3installation. 1.92 is working fine.

Tried to install 2.00 current stable as well as 2.05beta5. After the final install stepp I get an 404. Accessing www.example.com/limesurvey is almost fine (neither name nor configured email adress do appear). Accessing www.example.com/limesurvey/admin fails (404). Error log shows somwthing really strange ("index.php" in the middle of the servers path)

[Tue Jul 16 14:58:19 2013] [error] [client xx.xx.xx.xx] File does not exist: /srv/www/mypath/limesurvey/index.php/admin


and

[Tue Jul 16 15:00:17 2013] [error] [client xx.xx.xx.xx] File does not exist: /srv/www/mypath/limesurvey/index.php/admin/authentication/sa/login, referer: www.example.com/limesurvey/admin/authentication/sa/login


Again: Limesurvey 1.92 works really fine - so the TYPO3's mod_rewrite commands seem to work well.
serve is an Apache 2, running on Debian. Install Tool check shows the green check marks for ALL items.

Any Ideas - even hints on "obvious" issues are welcome.

Markus

Please Log in to join the conversation.

More
3 years 10 months ago #98109 by mdekker
mdekker replied the topic: strange rewrite(?)
Just place it in it's own folder, outside the control of typo3 rewrite. Limesurvey needs it's own rewrite rules (see htaccess).

If that works, and you really need it under the typo3 file structure, make sure to exclude url's that include the limesurvey folder from the typo3 rewrite.

---
Menno Dekker

Please Log in to join the conversation.

More
3 years 10 months ago #98119 by DenisChenu
DenisChenu replied the topic: strange rewrite(?)
Hello,

You can update your application/config/config.php too:
		'urlManager' => array(
			'urlFormat' => 'path',
			'rules' => require('routes.php'),
			'showScriptName' => false,
		),
To
'urlManager' => array(
			'urlFormat' => 'get',
			'rules' => require('routes.php'),
			'showScriptName' => true,
		),

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: markusmaier

Please Log in to join the conversation.

More
3 years 10 months ago #98345 by markusmaier
markusmaier replied the topic: strange rewrite(?)
Works! Thank you very much. For documentation purposes:
  1. suggested edit is only possible after the installation is "finished"
  2. at the end of the installation there will be the 404
  3. do the suggested edit
  4. using phpMyAdmin insert the admin user as described at www.limesurvey.org/en/forum/installation...admin-password#91707

Done :-)

Best regards!

Markus

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now